--- services: install_site: build: install_site environment: - BASE_URL - EMAIL volumes: - certs:/etc/letsencrypt/ - certbotroot:/var/www/certbot/ - /var/run/docker.sock:/var/run/docker.sock bind9: build: . restart: unless-stopped ports: - "53:53/tcp" - "53:53/udp" - "8443:8443" environment: - BASE_URL volumes: - cache:/var/cache/bind/ - certs:/etc/letsencrypt/:ro volumes: certs: external: true certbotroot: external: true cache: