druidfi / stonehenge

Multi-project local development environment & toolset on Docker
MIT License
61 stars 6 forks source link

Allow resolver and dnsmasq to be skipped with use of real domain #39

Closed back-2-95 closed 3 years ago

back-2-95 commented 5 years ago

If a real domain is used e.g. docker.mydomain.com which points to 127.0.0.1 we can skip creating dnsmasq container and doing resolver modifications.

Create a variable stating domain is "real" or skipping dns/resolver actions.

back-2-95 commented 3 years ago

Example for our own organization:

Current path to a project: project.docker.sh (needs dnsmasq locally) Proposed solution: project.WHAT.druid.fi (where *.project.WHAT.druid.fi record points to 127.0.01)

back-2-95 commented 3 years ago

Now Stonehenge supports using *.traefik.me domains (https://traefik.me/)

back-2-95 commented 3 years ago

Go with removing the resolver totally in 3.x

back-2-95 commented 3 years ago

Completed in 3.x branch. Dnsmasq is removed with resolver.