DATABASE_URL not found
When running prisma migrate, prisma cannot find the env variable. Even a postgres instance is connected to the service and it has automatically added the env variable
![](https://utfs.io/f/b71770cd-07a1-47da-b0bc-d0b4ba098825-1nq2cb.png)
5 Replies
Project ID:
6d0f799e-be59-4388-899d-f00456f30667
You might find these helpful:
- prisma
- How can I add environment variable to postgresql service?o
- Invalid environment variables unless ENV included in Dockerfile
⚠️ experimental feature
6d0f799e-be59-4388-899d-f00456f30667
It looks to me like database url is already added
![](https://utfs.io/f/8da73b78-bd61-471d-a6f7-09adaab4db14-1nq2cb.png)
This is now solved, The issue was dockerfile didn't have the variable.
Added this to my docker file
Now the redis database URL is not working. I can see it in railway cli but my app does not see it. Is it because this is a docker deploy?
CAN someone help me?