env variable not updating in docker compose

Hello, I recently deployed novu with docker compose file but some how api url not updating. I changed in .env file but it still uses localhost value.
14 Replies
mosamlife
mosamlifeOP3y ago
okay it is a bug already submited to github
Pawan Jain
Pawan Jain3y ago
@mosamlife please share issue link here
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Pawan Jain
Pawan Jain3y ago
Thanks
mosamlife
mosamlifeOP3y ago
@Pawan Jain let me know when it is merged because WebSocket value not being read from .env as well
Pawan Jain
Pawan Jain3y ago
Sure @mosamlife
harrisyn
harrisyn3y ago
Ah! been tearing my hair out over this
Novu_Bot
Novu_Bot3y ago
@harrisyn, you just advanced to level 1!
Pawan Jain
Pawan Jain3y ago
Hi @mosamlife fixed in this websocket issue fixed in this PR
Pawan Jain
Pawan Jain3y ago
GitHub
Update docker-compose.yml by MD-Fleksa · Pull Request #3173 · novuh...
What change does this PR introduce? add: environment config for deployment compose file to fix ws pointing to local host because of env not reflecting inside the docker Why was this change needed? ...
mosamlife
mosamlifeOP3y ago
@Pawan Jain how can I use this to current setup?
Pawan Jain
Pawan Jain3y ago
your issue is fixed in next branch Please make sure clear old docker images/container and do fresh installation
mosamlife
mosamlifeOP3y ago
so you will release image right?
Pawan Jain
Pawan Jain3y ago
This is fixed in 0.13.0 image also you just need most updated docker-compose.yml file from next branch

Did you find this page helpful?