Standardize the DNS setup.
This commit is contained in:
23
Config/DNS/docker-compose.example.yml
Normal file
23
Config/DNS/docker-compose.example.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
# 2023-07-29
|
||||
#
|
||||
# Local DNS server which properly handles DNS splitting.
|
||||
# Necessary when using junk ISP gateways and running a domain.
|
||||
# https://thekelleys.org.uk/dnsmasq/doc.html
|
||||
#
|
||||
|
||||
services:
|
||||
app:
|
||||
container_name: dns-app
|
||||
build:
|
||||
context: ./
|
||||
network: host
|
||||
restart: always
|
||||
ports:
|
||||
- "53:53/udp"
|
||||
- "53:53/tcp"
|
||||
deploy:
|
||||
mode: global
|
||||
resources:
|
||||
limits:
|
||||
cpus: $CPU
|
||||
memory: $MEM
|
||||
Reference in New Issue
Block a user