--- services: install_site: build: install_site environment: - BASE_URL - EMAIL volumes: - ./nginx.conf:/web/bind9.conf - sites:/sites/ - certs:/etc/letsencrypt/ - certbotroot:/var/www/certbot/ - /var/run/docker.sock:/var/run/docker.sock bind9: build: . restart: unless-stopped ports: - "53:53" volumes: - cache:/cache/ volumes: certs: external: true certbotroot: external: true cache: