Upgraded DigitalOcean DNS to v0.6.4. Adds support for overriding name template for specific services by setting io.rancher.service.external_dns_name_template label to it in docker-compose.yml (implemented in https://github.com/rancher/external-dns/pull/74)

This commit is contained in:
Sergey Gerasimov
2017-05-02 09:53:07 +03:00
parent fda5d1b8af
commit 59c6e0776b
4 changed files with 101 additions and 1 deletions
@@ -0,0 +1,13 @@
digitalocean:
image: rancher/external-dns:v0.6.4
command: -provider=digitalocean
expose:
- 1000
environment:
DO_PAT: ${DO_PAT}
ROOT_DOMAIN: ${ROOT_DOMAIN}
NAME_TEMPLATE: ${NAME_TEMPLATE}
TTL: 300
labels:
io.rancher.container.create_agent: "true"
io.rancher.container.agent.role: "external-dns"