mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 16:54:26 +01:00
24 lines
406 B
YAML
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
|
||
|
|