|
|
@@ -0,0 +1,237 @@
|
|
|
+services:
|
|
|
+ homeassistant:
|
|
|
+ image: ghcr.io/home-assistant/home-assistant:stable
|
|
|
+ privileged: true
|
|
|
+ restart: unless-stopped
|
|
|
+ volumes:
|
|
|
+ - /mnt/Data/Software/Homeassistant:/config
|
|
|
+ - /run/dbus:/run/dbus:ro
|
|
|
+ environment:
|
|
|
+ TZ: Europe/Rome
|
|
|
+ ports:
|
|
|
+ - 8123:8123
|
|
|
+
|
|
|
+ mariadb:
|
|
|
+ image: mariadb
|
|
|
+ build:
|
|
|
+ context: mariadb
|
|
|
+ dockerfile: mariadb.yml
|
|
|
+ volumes:
|
|
|
+ - /home/MariaDb/var/lib/mysql:/var/lib/mysql
|
|
|
+ restart: unless-stopped
|
|
|
+ ports:
|
|
|
+ - 3306:3306
|
|
|
+ entrypoint: ['bin/bash','/root/mariadb.sh']
|
|
|
+ environment:
|
|
|
+ MARIADB_PASSWORD: "PassworD"
|
|
|
+
|
|
|
+ console:
|
|
|
+ image: console
|
|
|
+ build:
|
|
|
+ context: console
|
|
|
+ dockerfile: console.yml
|
|
|
+ volumes:
|
|
|
+ - /mnt/Data/Software/Shared_data:/home/shared_data
|
|
|
+ - archivio_data:/mnt/Data
|
|
|
+ #entrypoint: ['bin/bash','/root/console.sh']
|
|
|
+ #restart: unless-stopped
|
|
|
+
|
|
|
+ backup:
|
|
|
+ image: console
|
|
|
+ build:
|
|
|
+ context: console
|
|
|
+ dockerfile: console.yml
|
|
|
+ volumes:
|
|
|
+ - /mnt/Data/Software/Shared_data:/home/shared_data
|
|
|
+ - archivio_data:/mnt/Data
|
|
|
+ environment:
|
|
|
+ MARIADB_PASSWORD: "PassworD"
|
|
|
+ entrypoint: ['mysqldump','-h','mariadb','--skip-ssl','--password=PassworD',--user='root','--all-databases']
|
|
|
+
|
|
|
+ gogs:
|
|
|
+ image: gogs
|
|
|
+ build:
|
|
|
+ dockerfile: ./gogs/gogs.yml
|
|
|
+ volumes:
|
|
|
+ - /mnt/Data/Software/Gogs:/home/gogs
|
|
|
+ restart: unless-stopped
|
|
|
+ ports:
|
|
|
+ - 3000:3000
|
|
|
+ entrypoint: ['bin/bash','/root/gogs.sh']
|
|
|
+
|
|
|
+ wiki:
|
|
|
+ image: wiki
|
|
|
+ build:
|
|
|
+ context: ./wiki
|
|
|
+ dockerfile: wiki.yml
|
|
|
+ volumes:
|
|
|
+ - /mnt/Data/Software/Wiki:/home/wiki
|
|
|
+ restart: unless-stopped
|
|
|
+ ports:
|
|
|
+ - 3100:8080
|
|
|
+ entrypoint: ['bin/bash','/root/wiki.sh']
|
|
|
+
|
|
|
+ password:
|
|
|
+ image: password
|
|
|
+ build:
|
|
|
+ dockerfile: ./password/password.yml
|
|
|
+ volumes:
|
|
|
+ - /mnt/Data/Software/Password:/home/password
|
|
|
+ restart: unless-stopped
|
|
|
+ ports:
|
|
|
+ - 3020:3020
|
|
|
+ entrypoint: ['bin/bash','/root/password.sh']
|
|
|
+ environment:
|
|
|
+ PASSWORDWEB_PORT: 0.0.0.0:3020
|
|
|
+ PASSWORDWEB_FILE: /home/password/PasswordFiles/multiword.txt
|
|
|
+ PASSWORDWEB_PIN: 8
|
|
|
+
|
|
|
+ syncthing:
|
|
|
+ image: syncthing
|
|
|
+ build:
|
|
|
+ dockerfile: ./syncthing/syncthing.yml
|
|
|
+ volumes:
|
|
|
+ - /home/Syncthing:/home/syncthing
|
|
|
+ - archivio_data:/mnt/Data/Archivio
|
|
|
+ - scansioni_data:/mnt/Data/Scansioni
|
|
|
+ - software_data:/mnt/Data/Software
|
|
|
+ restart: unless-stopped
|
|
|
+ ports:
|
|
|
+ - 8384:8384
|
|
|
+ - 22000:22000/tcp
|
|
|
+ - 22000:22000/udp
|
|
|
+ - 21027:21027/udp
|
|
|
+ entrypoint: ['/bin/bash','/root/syncthing.sh']
|
|
|
+
|
|
|
+ mqtt:
|
|
|
+ image: mqtt
|
|
|
+ build:
|
|
|
+ dockerfile: ./mqtt/mqtt.yml
|
|
|
+ restart: unless-stopped
|
|
|
+ ports:
|
|
|
+ - 1883:1883
|
|
|
+ entrypoint: ['/bin/bash','/root/mqtt.sh']
|
|
|
+ volumes:
|
|
|
+ - mqtt_etc:/mnt/Software
|
|
|
+
|
|
|
+ ftp:
|
|
|
+ image: ftp
|
|
|
+ build:
|
|
|
+ dockerfile: ./ftp/ftp.yml
|
|
|
+ ports:
|
|
|
+ - 21:21
|
|
|
+ - 49152-49352:49152-49352
|
|
|
+ entrypoint: ['/bin/bash','/root/ftp.sh']
|
|
|
+ volumes:
|
|
|
+ - archivio_data:/mnt/Archivio
|
|
|
+ restart: unless-stopped
|
|
|
+
|
|
|
+ samba:
|
|
|
+ image: samba
|
|
|
+ build:
|
|
|
+ dockerfile: ./samba/samba.yml
|
|
|
+ volumes:
|
|
|
+ - samba_etc:/etc/samba
|
|
|
+ - samba_var:/var/lib/samba
|
|
|
+ - archivio_data:/mnt/Data/Archivio
|
|
|
+ - scansioni_data:/mnt/Data/Scansioni
|
|
|
+ - gabriella_data:/mnt/Data/Gabriella
|
|
|
+ restart: unless-stopped
|
|
|
+ ports:
|
|
|
+ - 445:445
|
|
|
+ - 139:139
|
|
|
+ entrypoint: ['/bin/bash','/root/samba.sh']
|
|
|
+
|
|
|
+ registry:
|
|
|
+ image: registry:2
|
|
|
+ volumes:
|
|
|
+ - registry:/var/lib/registry
|
|
|
+ restart: unless-stopped
|
|
|
+ ports:
|
|
|
+ - 5000:5000
|
|
|
+
|
|
|
+ lychee:
|
|
|
+ image: lychee
|
|
|
+ build:
|
|
|
+ dockerfile: ./lychee/lychee.yml
|
|
|
+ restart: unless-stopped
|
|
|
+
|
|
|
+volumes:
|
|
|
+ mariadb_data:
|
|
|
+ gogs_data:
|
|
|
+ shared_data:
|
|
|
+ password_data:
|
|
|
+ syncthing_data:
|
|
|
+
|
|
|
+ archivio_data:
|
|
|
+ driver: local
|
|
|
+ driver_opts:
|
|
|
+ type: nfs
|
|
|
+ o: "addr=127.0.0.1,soft,rw"
|
|
|
+ device: ":/mnt/Data/Archivio"
|
|
|
+
|
|
|
+ gabriella_data:
|
|
|
+ driver: local
|
|
|
+ driver_opts:
|
|
|
+ type: nfs
|
|
|
+ o: "addr=127.0.0.1,soft,rw"
|
|
|
+ device: ":/mnt/Data/Gabriella"
|
|
|
+
|
|
|
+
|
|
|
+ scansioni_data:
|
|
|
+ driver: local
|
|
|
+ driver_opts:
|
|
|
+ type: nfs
|
|
|
+ o: "addr=127.0.0.1,soft,rw"
|
|
|
+ device: ":/mnt/Data/Scansioni"
|
|
|
+
|
|
|
+ software_data:
|
|
|
+ driver: local
|
|
|
+ driver_opts:
|
|
|
+ type: nfs
|
|
|
+ o: "addr=127.0.0.1,soft,rw"
|
|
|
+ device: ":/mnt/Data/Software"
|
|
|
+
|
|
|
+ nextcloud_data:
|
|
|
+ driver: local
|
|
|
+ driver_opts:
|
|
|
+ type: nfs
|
|
|
+ o: "addr=127.0.0.1,soft,rw"
|
|
|
+ device: ":/mnt/Data/Software/Nextcloud_data"
|
|
|
+
|
|
|
+ nextcloud_etc:
|
|
|
+ driver: local
|
|
|
+ driver_opts:
|
|
|
+ type: nfs
|
|
|
+ o: "addr=127.0.0.1,soft,rw"
|
|
|
+ device: ":/mnt/Data/Software/Nextcloud_etc"
|
|
|
+
|
|
|
+ mqtt_etc:
|
|
|
+ driver: local
|
|
|
+ driver_opts:
|
|
|
+ type: nfs
|
|
|
+ o: "addr=127.0.0.1,soft,rw"
|
|
|
+ device: ":/mnt/Data/Software"
|
|
|
+
|
|
|
+ samba_etc:
|
|
|
+ driver: local
|
|
|
+ driver_opts:
|
|
|
+ type: nfs
|
|
|
+ o: "addr=127.0.0.1,soft,rw"
|
|
|
+ device: ":/mnt/Data/Software/Samba_CC/etc"
|
|
|
+
|
|
|
+ samba_var:
|
|
|
+ driver: local
|
|
|
+ driver_opts:
|
|
|
+ type: nfs
|
|
|
+ o: "addr=127.0.0.1,soft,rw"
|
|
|
+ device: ":/mnt/Data/Software/Samba_CC/var"
|
|
|
+
|
|
|
+ registry:
|
|
|
+ driver: local
|
|
|
+ driver_opts:
|
|
|
+ type: nfs
|
|
|
+ o: "addr=127.0.0.1,soft,rw"
|
|
|
+ device: ":/mnt/Data/Software/Registry"
|
|
|
+
|
|
|
+
|