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: local/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 gogs: image: local/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'] password: image: local/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: local/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: local/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: local/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 #lychee: # image: local/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" 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"