mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 10:38:41 -04:00
Cannot change env. variables in docker container (must fill fields), #304
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Matis-11 on GitHub (Aug 23, 2023).
Docker installaton synology:
When I want to change e.g. just the period or cooldown_ period, it is not possible to save the variable settings as the fields: CONFIG, RESOLVER_ADDRESS, SHOUTRRR_ADDRESSES, TZ cannot left empty as they are must fill field.
So I cannot make any changes to the standard config.
@Matis-11 commented on GitHub (Aug 23, 2023):
I could just delete the empty fields and save it then, but I think this is just a workaround.
@qdm12 commented on GitHub (Aug 24, 2023):
They are not, each of the ones you mentioned are empty by default and can be left empty. Check out the env variables lines after
7fac178b7d/Dockerfile (L72)I'm missing information, I guess you use some wrapper like unraid template around the docker image, and that wrapper configuration is wrong? 🤔
@Matis-11 commented on GitHub (Aug 24, 2023):
Thanks, no I'm using just the docker container of DSM 7 on a synology. So it looks like that the synology does not allow empty fields in general. Well, deleting them works so far.
@qdm12 commented on GitHub (Jan 18, 2024):
Sorry this workaround will have to do until Synology fixes it, I need to keep the environment variables (even without default value) in the Docker image for documentation purposes (i.e.
docker inspect qmcgaw/ddns-updater).