Tomáš Levora | 290bf40 | 2018-12-19 15:47:04 +0100 | [diff] [blame] | 1 | --- |
Bartek Grzybowski | 25d56e3 | 2019-05-10 09:29:10 +0200 | [diff] [blame^] | 2 | - name: Run dns server container |
Tomáš Levora | 290bf40 | 2018-12-19 15:47:04 +0100 | [diff] [blame] | 3 | docker_container: |
Tomáš Levora | a0ad5c1 | 2019-03-28 17:45:55 +0100 | [diff] [blame] | 4 | name: dns-server |
| 5 | image: "{{ dns_server_image }}" |
Tomáš Levora | 290bf40 | 2018-12-19 15:47:04 +0100 | [diff] [blame] | 6 | 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 Grzybowski | 25d56e3 | 2019-05-10 09:29:10 +0200 | [diff] [blame^] | 15 | recreate: true |