This repository has been archived by the owner on Jan 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
"client" docker image (based on nginx) is completely killing env variables...? #474
Comments
@yarikoptic - i can't replicate this:
|
perhaps you should do the |
nope, you are specifying a different entry point. i think it is somewhere in nginx's entrypoint it annihilates all of them somehow. Try with the command I gave: |
Is this still a problem, @yarikoptic? |
Closing this; please re-open if the problem persists. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I run
docker-compose
on our setup in dandi-cli, based on images which we build on docker hub from recipes in this repo, you can observe an oddenviron
within the container corresponding to the web ui client:so unlike other containers, it does not have some environment variables in its environment, but just has
nginx -g daemon off;
. The same if I just start that image manually and try to pass envvar:docker run -it --rm -e 'VUE_APP_API_ROOT=http://localhost:8081/api/v1' dandiarchive/dandiarchive-client
.May be it is killing all of them on purpose for some "tighter security"?
But that likely explains why @jwodder attempts also to make web ui working by setting
VUE_APP_API_ROOT
(in https://github.com/dandi/dandi-cli/search?q=VUE_APP_API_ROOT&type=Issues) didn't work out.Any ideas?
The text was updated successfully, but these errors were encountered: