Init networkupstools
This commit is contained in:
parent
7321b6bcca
commit
d116121d46
1
homelab/fighter/config/networkupstools/.env
Normal file
1
homelab/fighter/config/networkupstools/.env
Normal file
@ -0,0 +1 @@
|
||||
DOCKER_DATA=/home/admin/data/networkupstools
|
20
homelab/fighter/config/networkupstools/docker-compose.yml
Normal file
20
homelab/fighter/config/networkupstools/docker-compose.yml
Normal file
@ -0,0 +1,20 @@
|
||||
version: "3"
|
||||
services:
|
||||
nut:
|
||||
image: shawly/nut
|
||||
container_name: networkupstools_nut
|
||||
env_file:
|
||||
- path: ./nut.env
|
||||
required: true
|
||||
ports:
|
||||
- "9000:9000"
|
||||
volumes:
|
||||
- "$DOCKER_DATA/titles:/nut/titles:rw"
|
||||
- "$DOCKER_DATA/conf:/nut/conf:rw"
|
||||
- "$DOCKER_DATA/_NSPOUT:/nut/_NSPOUT:rw"
|
||||
- "$DOCKER_DATA/titledb:/nut/titledb:rw"
|
||||
labels:
|
||||
- traefik.http.routers.nut.rule=Host(`nut.jafner.net`)
|
||||
- traefik.http.routers.nut.tls.certresolver=lets-encrypt
|
||||
- traefik.http.routers.nut.middlewares=lan-only@file
|
||||
- traefik.http.services.nut.loadbalancer.server.port=9000
|
6
homelab/fighter/config/networkupstools/nut.env
Normal file
6
homelab/fighter/config/networkupstools/nut.env
Normal file
@ -0,0 +1,6 @@
|
||||
TZ=America/Los_Angeles
|
||||
USER_ID=1001
|
||||
GROUP_ID=1001
|
||||
TITLEDB_REGION=US
|
||||
TITLEDB_LANGUAGE=en
|
||||
NUT_API_SCHEDULES="[{"scan":"0/30 * * * *}]"
|
Loading…
Reference in New Issue
Block a user