21 lines
303 B
YAML
21 lines
303 B
YAML
version: '2'
|
|
|
|
services:
|
|
bind:
|
|
build: ./bind
|
|
hostname: bind
|
|
container_name: bind
|
|
restart: always
|
|
entrypoint:
|
|
- /etc/bind/command.sh
|
|
ports:
|
|
- "53:53"
|
|
- "53:53/udp"
|
|
volumes:
|
|
- ./bind:/etc/bind
|
|
networks:
|
|
bindnet:
|
|
|
|
networks:
|
|
bindnet:
|