Files
bind9/compose.yml
Gian Luca Vagnuzzi a422ca950e
Some checks failed
Update Docker Hub Description / dockerHubDescription (push) Failing after 33s
Docker Image CI / Build Docker Image To Dockerhub (push) Failing after 24s
Initial commit
2025-11-10 21:49:34 +01:00

16 lines
506 B
YAML

services:
bind9:
image: rardcode/bind9
container_name: bind9
#environment:
# - TZ=Europe/Rome
volumes:
- ./data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
# use "network_mode: host" to get queries from the host that hosts the docker with the correct source ip of lan ex 192.168.88.145,
# otherwise they would come with the ip of the gatewway interface of the docker ex 172.19.0.1
network_mode: host
restart: unless-stopped