Alex DiGrazia
PPrisma
•Created by Alex DiGrazia on 12/3/2024 in #help-and-questions
DATABASE_URL environment variable not found
Error: Prisma schema validation - (get-config wasm)
Error code: P1012
error: Environment variable not found: DATABASE_URL.
--> prisma/schema.prisma:8
|
7 | provider = "postgres"
8 | url = env("DATABASE_URL")
|
Validation Error Count: 1
[Context: getConfig]
anyone else hit this error before?
I am running a Dockerized Express API on an AWS EC2, and entered environment variables via the
-e tag in the docker run command.
This is all within the context of a CI/CD pipeline I'm setting up.
Currently debugging and digging around for a solution.
4 replies