Cannot change env. variables in docker container (must fill fields), #304

Closed
opened 2025-11-20 04:22:30 -05:00 by saavagebueno · 4 comments
Owner

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.

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.
saavagebueno added the Category: Config problem 📝 label 2025-11-20 04:22:30 -05:00
Author
Owner

@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.

@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.
Author
Owner

@qdm12 commented on GitHub (Aug 24, 2023):

cannot left empty as they are must fill field.

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? 🤔

@qdm12 commented on GitHub (Aug 24, 2023): > cannot left empty as they are must fill field. 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 https://github.com/qdm12/ddns-updater/blob/7fac178b7dd76d6f3576328f3831ea010e954bc1/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? 🤔
Author
Owner

@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.

@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.
Author
Owner

@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).

@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`).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#304