elk
elk copied to clipboard
Unable to Set Environment Variable NUXT_PUBLIC_DEFAULT_SERVER in Docker Deployment
During the deployment of my application using Docker(ghcr.io/elk-zone/elk:main), I've encountered an issue: I'm unable to set the environment variable NUXT_PUBLIC_DEFAULT_SERVER successfully. Despite trying many times, I've been unsuccessful.
Specifically, I attempted to set it using the -e NUXT_PUBLIC_DEFAULT_SERVER=example.com format in the Docker startup command. However, it seems that the variable isn't being properly set within the running container.
Has anyone else faced a similar issue during Docker deployment or do you have any simple suggestions on how to correctly set the NUXT_PUBLIC_DEFAULT_SERVER environment variable within Docker?
Appreciate any insights or guidance on this matter!
Start a new pull request in StackBlitz Codeflow.
It can relate to #1427. It seems that the current Docker setup requires to rebuild to configure the default server.