blob: 9e9574741d91734f2025e46f8a42df8a93389993 [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 }}"
Tomáš Levora290bf402018-12-19 15:47:04 +01006 command: -H /simulated_hosts --log-facility=-
7 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