Syncthing angepasst

This commit is contained in:
borgal
2022-07-19 10:07:49 +00:00
parent 120c157571
commit 0db826ba8b
2 changed files with 13 additions and 3 deletions

2
syncthing/.env.sample Normal file
View File

@@ -0,0 +1,2 @@
NFS_SERVER=192.168.0.xxx # oder hostname oder Domain
BACKUP=/Pfad/zum/Ordner/Backup

View File

@@ -10,11 +10,19 @@ services:
- TZ=Europe/Berlin - TZ=Europe/Berlin
volumes: volumes:
- ./config:/config - ./config:/config
- ./Borgal:/Borgal - Backup:/Backup
- ./Sandra:/Sandra
ports: ports:
- 8384:8384 - 8384:8384
- 22000:22000/tcp - 22000:22000/tcp
- 22000:22000/udp - 22000:22000/udp
- 21027:21027/udp - 21027:21027/udp
restart: unless-stopped restart: unless-stopped
volumes:
Backup:
name: Backup
driver: local
driver_opts:
type: nfs
o: addr=${NFS_SERVER},rw
device: ":${BACKUP}"