services: mariadb: image: local/mariadb build: dockerfile: ./mariadb/mariadb.yml volumes: - mariadb-data:/var/lib/mysql restart: unless-stopped ports: - 3306:3306 entrypoint: ['bin/bash','/root/mariadb.sh'] environment: MARIADB_PASSWORD: "PassworD" setup: image: local/setup build: 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 gogs: image: local/gogs build: dockerfile: ./gogs/gogs.yml volumes: - gogs-data:/home/gogs restart: unless-stopped ports: - 3000:3000 entrypoint: ['bin/bash','/root/gogs.sh'] password: image: local/password build: dockerfile: ./password/password.yml volumes: - password-data:/home/password restart: unless-stopped ports: - 3020:3020 entrypoint: ['bin/bash','/root/password.sh'] 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: driver: local driver_opts: device: /mnt/Data/Volumes/MariaDb/var/lib/mysql type: local o: bind gogs-data: driver: local driver_opts: device: /mnt/Data/Volumes/Gogs type: local o: bind shared-data: driver: local driver_opts: device: /mnt/Data/Volumes/Shared-data type: local o: bind password-data: driver: local driver_opts: device: /mnt/Data/Volumes/Password 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"