fritzbox-cloudflare-dyndns
fritzbox-cloudflare-dyndns copied to clipboard
Disable strategy
Is it possible to disable e.g. the polling strategy if I only want to use the pushing strategy?
Sure, just do not specify FRITZBOX_ENDPOINT_URL, you should see a message on the log that indicates that polling was disabled due to this missing env.
When I don't specify the FRITZBOX_ENDPOINT_URL it's throwing an error:

When I uncomment the FRITZBOX-lines, the container is working and I can use the pushing strategy (however, polling strategy running too which I want to disable).
@danielbeicht I found an ugly but working quick fix: Just add an empty environment var like
environment:
- FRITZBOX_ENDPOINT_URL=
- other stuff
Improved the documentation on that to say that you need to explicitly set FRITZBOX_ENDPOINT_URL to an empty string for the docker image.