SSSL-DNS/compose.yml
Matthew Lopez 84f2bef52b
docs: update documentation for new setup
This updates the README information and adds an example Docker Compose file.
2024-06-03 18:03:55 -04:00

22 lines
487 B
YAML

# Example of a Docker Compose file that runs the DNS and Nginx containers together
services:
dns:
build: ./dns
restart: always
ports:
- 53:53/udp
env_file:
- ./dns/.env
nginx:
build: ./nginx
restart: always
ports:
- 80:80
- 443:443
volumes:
- ./nginx/cert-chain.pem:/opt/nginx/ssl/ca.pem:ro
- ./nginx/ssl-cert-private-key.pem:/opt/nginx/ssl/private.key:ro
- ./nginx/nginx.conf:/opt/nginx/conf/nginx.conf:ro