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: dockerfile: ./mariadb/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: dockerfile: ./console/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: dockerfile: ./console/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: dockerfile: ./wiki/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 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'] #lychee: # image: lychee # build: # dockerfile: ./lychee/lychee.yml # depends_on: # - nginx # - php-fpm # #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"