infrastructure/docker-compose.dns.yml
Bensuperpc 6dd7a30b03
Add DNS
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-05-08 19:17:49 +02:00

24 lines
406 B
YAML

version: '3.9'
services:
dns-server:
container_name: dns-server
hostname: dns-server
profiles:
- dns-server
image: technitium/dns-server:latest
restart: on-failure
networks:
- infra-network
security_opt:
- no-new-privileges:true
volumes:
- dns-config:/etc/dns
env_file:
- env/technitium.env
volumes:
dns-config:
name: dns-config