docker/bind9/compose.yaml
2023-12-29 18:28:16 +01:00

29 lines
488 B
YAML

---
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: