Selfhosted calcom docker is not changing base or webapp URL - Only localhost | Environment variables issues #3704
Replies: 2 comments
-
Had the same problem Fix: |
Beta Was this translation helpful? Give feedback.
-
Hi @pbdco! 👋 I'm here to help you with any bugs, questions, or contributions you have. Let's tackle this together! It seems like you're encountering an issue with environment variables not being recognized correctly in your Dockerized Cal.com setup. This is a known issue that has been discussed in a similar thread, which was closed without a solution [1]. Here are a few steps you can take to troubleshoot and potentially resolve the issue:
If these steps do not resolve the issue, consider checking the logs for any errors or warnings that might provide more insight into the problem. To continue talking to Dosu, mention @dosu. Written by @dosu, approved by dosu-customer-success |
Beta Was this translation helpful? Give feedback.
-
I am running calendso in production, using docker. After I start the containers, I access to my CAL website (example: "cal.mydomain.com"), but I notice that the base URL is still http://localhost:3000, even if the .env and docker-compose is set correctly.
Additional comments: running
docker exec calendso-docker env
I can see the environment variables set correctly in my container. But for some reason, the cal app doesn't recognize them.Issue example:
At site admin, I see the base URL is still localhost:
At /event-types, when I copy one of my event links, the link is copied with http://localhost:3000/user/etc....
I notice there is some kind of issue with env variables, because I still see the license agreement bar event if I have set NEXT_PUBLIC_LICENSE_CONSENT=agree in my .env file.
My .env file:
My docker-compose.yaml:
PS: I am running docker behind a reverse proxy using nginx-proxy.
Beta Was this translation helpful? Give feedback.
All reactions