-
Notifications
You must be signed in to change notification settings - Fork 63
Conversation
d7415
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if other _PASSWORD variables need setting, but I think we set those to defaults now?
Either way, if tests (eventually) pass it works 🤷♂️
| - PUID=${PUID:-1000} | ||
| - PGID=${PGID:-1000} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same query as with APP_URL in the other discussion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am trying to look this one up.
https://docs.docker.com/compose/how-tos/environment-variables/set-environment-variables/
It is unclear to me whether the .env file is fully path through or if it is set for the docker compose which then use the environment definition... :|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am indeed maybe a bit confused. Seems like indeed there is some difference behaviors...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm.. So we probably either need to enable more of those in docker-compose.yml or set .env as an env_file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or use:
env_file:
- path: ./.env
required: false
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, that looks good to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the Harden PR :)
nope. I checked. :) That's the only one without default. |
With the chance in the docker-compose this is obviously broken...