blob: 9d77893a0e1c270638d828f6e1180c6772de96b9 [file] [log] [blame]
Tomáš Levora290bf402018-12-19 15:47:04 +01001---
Tomáš Levoraa0ad5c12019-03-28 17:45:55 +01002- name: Restart 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