#Connecting Redis to the main service
10 messages · Page 1 of 1 (latest)
Please send the code you expect to be reading the env variable
Is that enough info @fathom citrus?
I'm not Adam but no it wouldn't be enough information for him, please provide the full error
I've added the REDIS_URL to the service that runs the Django project. Even though Isee REDIS_URL in the service’s environment variables in the Railway dashboard, the container doesn’t actually receive it at runtime. I've confirmed it with running a debug and that return that there is no connection with the REDIS_URL. I would like to get some help why the REDIS_URL variable isn't passed into the container at runtime.
screenshot of your service variables with everything still hidden please
show the debug log now please
are you using a Dockerfile
yes
please see these docs -
https://docs.railway.com/guides/dockerfiles#using-variables-at-build-time