This commit is contained in:
Mikan
2026-02-13 21:58:35 +03:00
parent 60204db3d2
commit 71ffcc89bf
10 changed files with 213 additions and 227 deletions

View File

@@ -56,13 +56,30 @@ services:
depends_on:
- nginx-proxy
dnsmasq:
image: jpillora/dnsmasq
container_name: dnsmasq
restart: unless-stopped
ports:
- "53:53/udp"
- "53:53/tcp"
volumes:
- ./dnsmasq/dnsmasq.conf:/etc/dnsmasq.conf:ro
cap_add:
- NET_ADMIN
networks:
devnet:
ipv4_address: ${DNSMASQ_IP}
healthcheck:
test: ["CMD", "nslookup", "localhost", "127.0.0.1"]
interval: 30s
timeout: 5s
retries: 3
networks:
devnet:
driver: bridge
ipam:
config:
- subnet: ${SUBNET}
gateway: ${GATEWAY}
external: true
name: devnet
volumes:
acme: