Compare commits

...

2 commits

Author SHA1 Message Date
de85bb6280 + added healthcheck 2025-12-26 01:18:00 +01:00
cb642d3588 + Upgraded to 14.3.0 2025-12-26 01:17:33 +01:00

View file

@ -1,7 +1,7 @@
services: services:
dns_server: dns_server:
hostname: dns.karmacoma.dev hostname: dns.karmacoma.dev
image: technitium/dns-server:14.2.0 image: technitium/dns-server:14.3.0
# For DHCP deployments, use "host" network mode and remove all the port mappings, including the ports array by commenting them # For DHCP deployments, use "host" network mode and remove all the port mappings, including the ports array by commenting them
# network_mode: "host" # network_mode: "host"
ports: ports:
@ -15,6 +15,12 @@ services:
volumes: volumes:
- config:/etc/dns - config:/etc/dns
restart: unless-stopped restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "dig +short @127.0.0.1 dns.karmacoma.dev || exit 1"]
interval: 1m30s
timeout: 30s
retries: 5
start_period: 30s
sysctls: sysctls:
- net.ipv4.ip_local_port_range=1024 65000 - net.ipv4.ip_local_port_range=1024 65000