docker-named/docker-compose.yml

22 lines
354 B
YAML
Raw Normal View History

2024-09-28 10:28:51 +00:00
version: "2.1"
services:
named:
container_name: named
image: named
restart: unless-stopped
ports:
- "192.168.1.3:53:53/tcp"
- "127.0.0.1:53:53/tcp"
- "192.168.1.3:53:53/udp"
- "127.0.0.1:53:53/udp"
volumes:
- etc_bind:/etc/bind:z
- var_bind:/var/cache/bind:z
volumes:
etc_bind:
var_bind: