Giter Site home page Giter Site logo

Publish on docker hub about docker-ddns HOT 9 CLOSED

dstapp avatar dstapp commented on May 18, 2024 1
Publish on docker hub

from docker-ddns.

Comments (9)

dstapp avatar dstapp commented on May 18, 2024 1

Hi, thanks for your Feedback! I was also already thinking about this but didn't find time to do it. I would need to update the readme and would also like to incorporate a CI service to build and push the image when changes occur.

This seems to be a good starting point: https://bhavik.io/2016/08/20/travis-ci-docker-image.html

As soon as I find time for it, I will do it! This issue will be kept open until it's done :-)

from docker-ddns.

vukasin-nikodijevic avatar vukasin-nikodijevic commented on May 18, 2024 1

This is really good implementation for self hosted ddns - all I need for my project. It would be really nice to have it on Docker Hub.

Good work @dprandzioch 👍

from docker-ddns.

dstapp avatar dstapp commented on May 18, 2024 1

Thanks for the feedback. I just pushed the image to DockerHub and added instructions there on how to use it. From my first test this looks OK, but I'd like to have someone else testing this and give me some feedback to ensure that everything works.

Then I'll add the instructions to README.md.

Here's the link: https://hub.docker.com/r/davd/docker-ddns/

Regarding my post from before, I'll create a seperate issue later on for adding CI.

from docker-ddns.

jeremyVignelles avatar jeremyVignelles commented on May 18, 2024 1

Thanks a lot, I am setting a reminder to give it a try in the next two weeks. feel free to ask me again if you do not have any feedback after that.

from docker-ddns.

dstapp avatar dstapp commented on May 18, 2024

@jeremyVignelles Super :-) Thank you!

from docker-ddns.

jeremyVignelles avatar jeremyVignelles commented on May 18, 2024

Can confirm it works, with the following steps:

NOTE: I am using https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion . Commands should be the same except docker run where -e options are useless and you need to publish the 8080 port.

  1. Create a folder to persist dynamic dns configuration across container restarts/image updates: for example : /ddns

  2. Create the /ddns/envfile file with the correct content as in the tutorial. for this example, the ZONE will be ddns.example.com

  3. Start the container:

docker run -d \
    --name ddns \
    --restart=always \
    -p 53:53 \
    -p 53:53/udp \
    --env-file /ddns/envfile \
    -v /ddns/data:/var/cache/bind \
    -e "VIRTUAL_HOST=ddns.example.com" \
    -e "VIRTUAL_PORT=8080" \
    -e "LETSENCRYPT_HOST=ddns.example.com" \
    -e "[email protected]" \
    davd/docker-ddns
  1. I had issues updating the ddns configuration, ( "NOTAUTH" errors, and then "SERVFAIL" errors). I had to run the following on the docker host (as root):
chmod a+w /ddns/*
  1. Try it and enjoy
curl https://ddns.example.com/update?secret=<your-secret-key>&domain=<subdomain>&addr=<w.x.y.z>

from docker-ddns.

vukasin-nikodijevic avatar vukasin-nikodijevic commented on May 18, 2024

@jeremyVignelles thanks for effort.
I'll test it later today.

from docker-ddns.

dstapp avatar dstapp commented on May 18, 2024

@jeremyVignelles Thanks for your feedback! I will extend my documentation in README.md later and merge it to master then.

I'll leave this issue open until then.

from docker-ddns.

dstapp avatar dstapp commented on May 18, 2024

Documentation added. Thanks again @jeremyVignelles for adding insights on the problems you had. I've also explained this in the README.md now and hope people will be able to set it up using the provided information. Otherwise, anyone, feel free to add a issue, then we'll have to improve documentation ;-)

from docker-ddns.

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.