Closed ymatsiuk closed 3 years ago
There is an issue when using latest release all VUE_APP_* variables coming from .env ignored. To make this work we checkout dispatch, set context to ../dispatch and add these variables to ../dispatch/src/dispatch/static/dispatch/.env
VUE_APP_*
.env
dispatch
../dispatch
../dispatch/src/dispatch/static/dispatch/.env
To reproduce:
VUE_APP_DISPATCH_AUTHENTICATION_PROVIDER_SLUG=dispatch-auth-provider-pkce
./install.sh
undefined
VUE_APP_DISPATCH_AUTHENTICATION_PROVIDER_SLUG
This is because docker uses env file only during run process, not build process.
Additional change is required on Dockerfile side: https://github.com/Netflix/dispatch/pull/1533
Dockerfile
@kevgliss 🙏
lgtm thanks!
There is an issue when using latest release all
VUE_APP_*
variables coming from.env
ignored. To make this work we checkoutdispatch
, set context to../dispatch
and add these variables to../dispatch/src/dispatch/static/dispatch/.env
To reproduce:
VUE_APP_DISPATCH_AUTHENTICATION_PROVIDER_SLUG=dispatch-auth-provider-pkce
./install.sh
undefined
forVUE_APP_DISPATCH_AUTHENTICATION_PROVIDER_SLUG
value and dispatch falls back to basic auth 🤷🏻♂️This is because docker uses env file only during run process, not build process.
Additional change is required on
Dockerfile
side: https://github.com/Netflix/dispatch/pull/1533