--- services: install_site: build: install_site environment: - BASE_URL - EMAIL volumes: - ./nginx.conf:/web/fdroid.conf - sites:/sites/ - certs:/etc/letsencrypt/ - certbotroot:/var/www/certbot/ - /var/run/docker.sock:/var/run/docker.sock fdroid: build: . restart: unless-stopped environment: - BASE_URL - REPO_NAME - CRON_APP_UPDATE - PUID - PGID volumes: - ./repo/:/repo/ - ./apks.txt:/apks.txt:ro networks: - nginx volumes: sites: external: true certs: external: true certbotroot: external: true networks: nginx: external: true