|
|
@@ -18,6 +18,7 @@ services:
|
|
|
dockerfile: ./setup/setup.yml
|
|
|
volumes:
|
|
|
- /mnt/Data/Volumes/Shared-data:/home/shared-data
|
|
|
+ - archivio-data:/mnt/Data
|
|
|
entrypoint: ['bin/bash','/root/setup.sh']
|
|
|
restart: unless-stopped
|
|
|
|
|
|
@@ -45,6 +46,18 @@ services:
|
|
|
environment:
|
|
|
PASSWORDWEB_PORT: 3020
|
|
|
|
|
|
+ syncthing:
|
|
|
+ image: local/syncthing
|
|
|
+ build:
|
|
|
+ dockerfile: ./syncthing/syncthing.yml
|
|
|
+ volumes:
|
|
|
+ - /mnt/Data/Volumes/Syncthing:/home/syncthing
|
|
|
+ - archivio-data:/mnt/Data/Archivio
|
|
|
+ - scansioni-data:/mnt/Data/Scansioni
|
|
|
+ restart: unless-stopped
|
|
|
+ ports:
|
|
|
+ - 8384:8384
|
|
|
+ entrypoint: ['bin/bash','/root/syncthing.sh']
|
|
|
|
|
|
volumes:
|
|
|
mariadb-data:
|
|
|
@@ -75,3 +88,30 @@ volumes:
|
|
|
type: local
|
|
|
o: bind
|
|
|
|
|
|
+ syncthing-syncthing:
|
|
|
+ driver: local
|
|
|
+ driver_opts:
|
|
|
+ device: /mnt/Data/Volumes/Syncthing
|
|
|
+ type: local
|
|
|
+ o: bind
|
|
|
+
|
|
|
+ syncthing-data:
|
|
|
+ driver: local
|
|
|
+ driver_opts:
|
|
|
+ device: /mnt/Data
|
|
|
+ type: local
|
|
|
+ o: bind
|
|
|
+
|
|
|
+ archivio-data:
|
|
|
+ driver: local
|
|
|
+ driver_opts:
|
|
|
+ type: nfs
|
|
|
+ o: "addr=127.0.0.1,soft,rw"
|
|
|
+ device: ":/mnt/Data/Archivio"
|
|
|
+
|
|
|
+ scansioni-data:
|
|
|
+ driver: local
|
|
|
+ driver_opts:
|
|
|
+ type: nfs
|
|
|
+ o: "addr=127.0.0.1,soft,rw"
|
|
|
+ device: ":/mnt/Data/Scansioni"
|