blob: cd1e4b4753b07461dbea1d6ea9f9eba3f204e99e [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
5 image: "{{ dns_server_image }}"
Michal Ptacekb1fe7852019-05-21 08:01:33 +00006 command: -H /simulated_hosts --log-facility=- --dns-loop-detect
Tomáš Levora290bf402018-12-19 15:47:04 +01007 capabilities: NET_ADMIN
8 volumes:
9 - "{{ app_data_path }}/cfg/simulated_hosts:/simulated_hosts:ro"
10 ports:
11 - "53:53/tcp"
12 - "53:53/udp"
13 state: started
14 restart_policy: unless-stopped
Bartek Grzybowski25d56e32019-05-10 09:29:10 +020015 recreate: true