blob: 3d7570f566005c6c815917231075f90803209e2c [file] [log] [blame]
Tomáš Levora290bf402018-12-19 15:47:04 +01001---
Bartek Grzybowski25d56e32019-05-10 09:29:10 +02002- name: Run dns server container
Tomáš Levora290bf402018-12-19 15:47:04 +01003 docker_container:
Tomáš Levoraa0ad5c12019-03-28 17:45:55 +01004 name: dns-server
Michal Ptacekbd956332019-06-05 12:29:58 +00005 network_mode: host
Tomáš Levoraa0ad5c12019-03-28 17:45:55 +01006 image: "{{ dns_server_image }}"
Michal Ptacekb1fe7852019-05-21 08:01:33 +00007 command: -H /simulated_hosts --log-facility=- --dns-loop-detect
Tomáš Levora290bf402018-12-19 15:47:04 +01008 capabilities: NET_ADMIN
9 volumes:
10 - "{{ app_data_path }}/cfg/simulated_hosts:/simulated_hosts:ro"
11 ports:
12 - "53:53/tcp"
13 - "53:53/udp"
14 state: started
15 restart_policy: unless-stopped
Bartek Grzybowski25d56e32019-05-10 09:29:10 +020016 recreate: true