mirror of
https://github.com/PretendoNetwork/SSSL-DNS.git
synced 2026-03-22 02:14:42 -05:00
22 lines
487 B
YAML
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
|