Giter Club home page Giter Club logo

docker-route53-dyndns's People

Contributors

dsummersl avatar hmalphettes avatar vanaf avatar wattos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-route53-dyndns's Issues

Error running notify command with private zone

Hi,

I'm trying to register my containers to a private zone but am receiving a cryptic error and not sure what the problem is:

$ docker run --rm --name route53 -v /var/run/docker.sock:/tmp/docker.sock -v /root/.aws:/root/.aws -e PUBLIC_IP=$(hostname -i) -e DRY_ROUTE53=true -e PRIVATE_TOP_ZONES=staging.aws -t hmalphettes/docker-route53-dyndns /usr/local/bin/docker-gen -watch -notify "/bin/sh -x /tmp/cli53routes" /app/cli53routes.tmpl /tmp/cli53routes
2015/08/26 21:03:00 Generated '/tmp/cli53routes' from 3 containers
2015/08/26 21:03:00 Running '/bin/sh -x /tmp/cli53routes'
2015/08/26 21:03:00 Error running notify command: /bin/sh -x /tmp/cli53routes, exit status 1
2015/08/26 21:03:00 + [ -z 10.1.20.102 ]
+ [ -z 10.1.20.102 -o not found = 10.1.20.102 ]
+ [ -z staging.aws ]
2015/08/26 21:03:00 Watching docker events

Please note that only 1 of my containers has VIRTUAL_HOST variable set and it is set to VIRTUAL_HOST=amqp.staging.aws

I also get the same error without the dry run option.

Thanks for your help!

Yannis

Feature request

I'd like to use this with with route53 alias or cname records pointing to an ELB.

I'd prefer to handle nginx routing on my own. Is this possible?

Also, an ideal use case for me would be delegating 2 records to the container. One an A record or CNAME on the private hosted zone (I say cname because the underlying host already has an A record, so an alias record pointing to it is preferable). The other being an optional public ALIAS or CNAME to an ELB or router node.

Assumes hosted zone is xxx.yyy

I have a hosted zone that is xxx.id.au and i assume there are many other 3rd level domains out there. Any chance you could modify this to compare the VIRTUAL_HOST to the list of hosted zones and find the match based on the VIRTUAL_HOST ending with the hosted zone?

If it is too hard i will buy another domain name because this container makes things so much easier. fantastic idea.

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.