ddns icon indicating copy to clipboard operation
ddns copied to clipboard

ddns container and port 8080

Open pellenbeck opened this issue 2 years ago • 0 comments

Awesome project. I am running it since months without any problem!

Now I would like to add some other proxy hosts to caddy (ddns/docker/caddy/Caddyfile). But when I am adding an other section to the Caddyfile and rebuild the docker containers the ddns frontend is not working anymore.

First assumption was that the Caddyfile was wrong (syntax) but I do not see a problem. Than I checked the container list

CONTAINER ID   IMAGE                   COMMAND                  CREATED         STATUS         PORTS                                                                                NAMES
eba8b0eb300b   abiosoft/caddy:latest   "/bin/parent caddy -…"   5 seconds ago   Up 4 seconds   0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 2015/tcp   ddns_caddy_1
c0e7d4e0a838   ddns_ddns               "/bin/sh -c '/go/bin…"   6 seconds ago   Up 5 seconds                                                                                        ddns_ddns_1
5995a2955345   ddns_powerdns           "/entrypoint.sh pdns…"   21 hours ago    Up 3 minutes   53/tcp, 0.0.0.0:53->53/udp, :::53->53/udp                                            ddns_powerdns_1
5478ec2ac127   redis:4-alpine          "docker-entrypoint.s…"   14 months ago   Up 3 minutes   6379/tcp                                                                             ddns_redis_1

and I am wondering about the missing port information for ddns container. When I remove the changes in Caddyfile and rebuild the containers everything is working - but the port information is still missing. Caddy use ddns:8080 as target host. But How does it work when the container has no open port 8080?

pellenbeck avatar Dec 02 '22 09:12 pellenbeck