aacebedo / dnsdock

DNS service discovery for Docker containers
MIT License
606 stars 91 forks source link

Fix for labels for tags and name override each other #99

Open febbraro opened 7 years ago

febbraro commented 7 years ago

Based on the conversation in #88 here is a (kong overdue) PR that addresses a few issues with domain name creation.

Names are now formed based on the following format:

[tag].[name].[region].[image].[environment].[domain]

Just like the current implementation this will only take the first tag if there is a csv value for tags. A future PR can add support for creating additional aliases based on multiple tag values.