docker/bind9/compose.yaml

32 lines
552 B
YAML

---
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"
- "853:853"
environment:
- BASE_URL
volumes:
- cache:/var/cache/bind/
- certs:/etc/letsencrypt/:ro
volumes:
certs:
external: true
certbotroot:
external: true
cache: {}