diff --git a/compose/compose.yaml b/compose/compose.yaml new file mode 100644 index 0000000..291c082 --- /dev/null +++ b/compose/compose.yaml @@ -0,0 +1,21 @@ +services: + technitium: + image: technitium/dns-server:latest + container_name: technitium-dns + hostname: dns-int01 + restart: unless-stopped + ports: + - "53:53/udp" + - "53:53/tcp" + - "5380:5380/tcp" + volumes: + - /srv/dns-int01/data:/etc/dns + environment: + - TZ=Europe/Zurich + cap_add: + - NET_ADMIN + healthcheck: + test: ["CMD", "/opt/technitium/dns/run.sh", "health"] + interval: 30s + timeout: 10s + retries: 3 \ No newline at end of file