Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashes in ENV var names not supported by docker compose #4269

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

flaki
Copy link
Contributor

@flaki flaki commented Nov 30, 2024

When I was trying to set this up, I was getting errors from docker compose:

failed to read /var/hosts/ente/.credentials.env: line 11: unexpected character "-" in variable name "ENTE_APPS_PUBLIC-ALBUMS=https://<redacted>"

There was, apparently, a brief period in time when docker compose supported dashes in ENV var names, but this is no longer the case, hence some vars need to be defined in a museum.yml and mounted into the instance. Maybe there is some rewriting in place that allows to redefine museum.yml entries with dashes in ENV vars, however I couldn't find it (and if there isn't, there probably should be, but this change should make the guide usable again at least).

Docker compose no longer supports dashes in ENV var names, hence some vars need to be defined in museum.yml
See docker/compose#12302 for details
@CLAassistant
Copy link

CLAassistant commented Nov 30, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@mnvr mnvr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🙏

@mnvr mnvr merged commit 56cb724 into ente-io:main Dec 2, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants