Commit 2a690742 authored by Chris Croome's avatar Chris Croome
Browse files

Set the DNS servers for Docker

parent 22897776
......@@ -14,6 +14,7 @@ ansible-playbook mailcow.yml -u root -i ${SERVERNAME}, -e "hostname=${SERVERNAME
## TODO:
* [Autodiscover / Autoconfig](https://mailcow.github.io/mailcow-dockerized-docs/u_e-autodiscover_config/)
* [Docker Compose Bash Completion](https://mailcow.github.io/mailcow-dockerized-docs/u_e-docker-dc_bash_compl/)
* [SOGo Thunderbird connector](https://mailcow.github.io/mailcow-dockerized-docs/third_party-thunderbird/)
......
---
- name: Set the nameservers for {{ hostname }}
- name: Set the nameservers
template:
src: templates/resolv.conf.j2
dest: /etc/resolv.conf
mode: 0644
- name: Set the nameservers for Docker
template:
src: templates/daemon.json.j2
dest: /etc/docker/daemon.json
mode: 0644
{
"dns": ["{{ nameserver_1 }}", "{{ nameserver_2 }}"]
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment