docker env
#638
Replies: 1 comment
-
|
The env vars need to be passed at build time, not runtime. The only true runtime vars are DISABLE_IPV6 and PORT (handled by the nginx entrypoint). To make your vars actually take effect, build the image yourself with args. Something like: Or equivalently via CLI: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to pass envs using docker but it does not work :/
I tried via
.env.productionand also usingenvironmentinto docker-compose.yaml fileBut both way there is no effect.
Beta Was this translation helpful? Give feedback.
All reactions