Syncthing angepasst
This commit is contained in:
2
syncthing/.env.sample
Normal file
2
syncthing/.env.sample
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
NFS_SERVER=192.168.0.xxx # oder hostname oder Domain
|
||||||
|
BACKUP=/Pfad/zum/Ordner/Backup
|
||||||
@@ -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}"
|
||||||
|
|||||||
Reference in New Issue
Block a user