Can someone help me find the docs for prisma 1.10 ...
# orm-help
g
Can someone help me find the docs for prisma 1.10 (or equivalent) where it's specified what are the environment variables that prisma deploy command expects when you pass an env file with
prisma deploy -e
r
Hey @Gabriel Oliveira 👋 Could you share what issue are you facing? Unless you have specified any secrets,
prisma deploy
should work without any environment variables
g
Hey Ryan, thanks for the reply, I'm doing maintenance on a project that was handed over to me and I need to understand how to run it properly, specially build everything locally for dev environment. I started to run the projects part by part, first with prisma init, then creating the schema and datamodels and then deploy, so far everything worked, and as you mentioned, I ran without passing the env vars file and at the same time I did not use any secret, maybe that's why it worked
But since I need to recreate the project locally I need to know what other env variables prisma expects when you pass on an env file as argument
and I cannot find this on the docs (prisma 1)
r
It’s actually upto the user what needs to be set in environment variables, which is why it’s not included in the docs. Although you can see the variables passed to the Prisma Server here. Also you can set a secret in your
prisma.yml
here.
g
cool thanks Ryan, that last link had everything I needed to know
one last question about the prisma service that runs on docker
I see that the endpoint can optionally contain the stage info for the prisma client (binding in my case) I wonder if the stage needs to be setup also on the prisma service when you start it up, or is the service agnostig to different stages dev/prod
r
It’s only to specify stages like
dev
and
prod
so it’s not mandatory