Compare commits
2 commits
a86011cfa7
...
de85bb6280
| Author | SHA1 | Date | |
|---|---|---|---|
| de85bb6280 | |||
| cb642d3588 |
1 changed files with 7 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
services:
|
||||
dns_server:
|
||||
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
|
||||
# network_mode: "host"
|
||||
ports:
|
||||
|
|
@ -15,6 +15,12 @@ services:
|
|||
volumes:
|
||||
- config:/etc/dns
|
||||
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:
|
||||
- net.ipv4.ip_local_port_range=1024 65000
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue