Hentra / dyndns-netcup-go

Dynamic DNS client for the netcup dns api written in go.
MIT License
48 stars 8 forks source link

Add docker-compose file #12

Open MapManagement opened 1 year ago

MapManagement commented 1 year ago

Hey, for simplicity I added a docker-compose file. It's based on your docker run command in the README. I find compose files easier to manage and maintain than running a command using a script or something similar.

martin-georgi commented 9 months ago

Hej @MapManagement ! I just tried that compose file on my pi4 and it died with the same error like in #16 .

I've fixed it with a network_mode: "host" in the dyn-dns service config. You may consider adding this to the MR.

MapManagement commented 9 months ago

Hi @martin-georgi, my container is running in bridged mode for about a year now and I've never faced any issue. I even tried to reproduce that error with a fresh configuration. I suppose that there's something else wrong with your exact setup. Feel free to share some more details, I'll look into that :)