Git Product home page Git Product logo

Comments (5)

smebberson avatar smebberson commented on May 18, 2024

@matthewvalimaki, yeah this looks good. I'm half way through approving and checking #13, post that, we can integrate this for sure. Nice and simple ;)

from docker-alpine.

matthewvalimaki avatar matthewvalimaki commented on May 18, 2024

Sweet. I have not looked into this but there was significant delay with
response when consul was only nameserver. Perhaps I missed an option,
perhaps newer consul doesn't experience that. Something to test :)
On Mar 17, 2016 3:55 PM, "Scott Mebberson" [email protected] wrote:

@matthewvalimaki https://github.com/matthewvalimaki, yeah this looks
good. I'm half way through approving and checking #13
#13, post that, we can
integrate this for sure. Nice and simple ;)


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#31 (comment)

from docker-alpine.

matthewvalimaki avatar matthewvalimaki commented on May 18, 2024

Actually I propose we'll introduce ENV CONSUL_DOMAIN=consul to alpine-base which then is used with go-dnsmasq --stubzones=$CONSUL_DOMAIN/127.0.0.1:8600 and consul -domain $CONSUL_DOMAIN. That way it's easy to change it if necessary and no need to write over default /etc/services.d/consul/run.

from docker-alpine.

smebberson avatar smebberson commented on May 18, 2024

@matthewvalimaki, sounds good. I really like that refinement. If you want to implement in PR #34, I'll merge straight away :)

from docker-alpine.

matthewvalimaki avatar matthewvalimaki commented on May 18, 2024

@smebberson done. I also updated the ENV styling a bit to be more readable. I also updated go-dnsmasq version to latest while I was touching that spot.

So with this configuration we still default to consul domain and all should work as they used to. But if you want/need to change the domain all one needs to do is re-declare ENV CONSUL_DOMAIN=<my domain>.

from docker-alpine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.