mirror of
https://github.com/louislam/dockge.git
synced 2026-03-03 02:06:55 -05:00
.env data not being parsed by docker #63
Labels
No labels
bug
feature-request
help
help wanted
invalid-format
need-reproduce-steps
question
security
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dockge-louislam#63
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @markhaines on GitHub (Dec 8, 2023).
⚠️ Please verify that this bug has NOT been reported before.
🛡️ Security Policy
Description
If I move lines from Environment part of the yaml and move them to the .env config pane instead (stripping out - etc so correctly formatted) I've noticed that Dockge ignores them when starting the container, and so the container fails to start.
👟 Reproduction steps
Example container 'adguardhome-sync' refuses to start if the environment: variables are not part of the main config.
👀 Expected behavior
Docker should read the .env config and launch the container including them.
😓 Actual Behavior
Docker fails to read them
Dockge Version
1.3.2
💻 Operating System and Arch
Alma 9.3
🌐 Browser
Chrome
🐋 Docker Version
24.0.7
🟩 NodeJS Version
No response
📝 Relevant log output
No response
@chris-lsn commented on GitHub (Dec 8, 2023):
You've to specify the
env_fileproperty to the containerhttps://docs.docker.com/compose/environment-variables/set-environment-variables/#use-the-env_file-attribute
@markhaines commented on GitHub (Dec 8, 2023):
Ah, I see... 😳