Adding DNS role
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
bind9:
|
||||
image: ubuntu/bind9:{{ bind_version }}
|
||||
container_name: bind9
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
TZ: UTC
|
||||
ports:
|
||||
- "53:53/tcp"
|
||||
- "53:53/udp"
|
||||
volumes:
|
||||
- {{ dns_data_dir }}/config/named.conf:/etc/bind/named.conf:ro
|
||||
- {{ dns_data_dir }}/zones:/var/lib/bind:ro
|
||||
- {{ dns_data_dir }}/cache:/var/cache/bind
|
||||
networks:
|
||||
- {{ sovereign_network_name }}
|
||||
logging:
|
||||
driver: gelf
|
||||
options:
|
||||
gelf-address: "udp://{{ graylog_host }}:{{ graylog_gelf_port }}"
|
||||
tag: "bind9"
|
||||
|
||||
networks:
|
||||
{{ sovereign_network_name }}:
|
||||
external: true
|
||||
Reference in New Issue
Block a user