Hi, in a graphcool-framework project how can i use...
# orm-help
s
Hi, in a graphcool-framework project how can i use a different prod environment set of variables? i can make a
.env
and a
.env-dev
but then how can i switch between the two? what do i have to write in the yml?
k
Might not answer your questions 100%, but look at my personal project notes, in particular, the last paragraph in my "dotenv" section https://github.com/TiE23/metric-teacher/tree/master/server#dotenv
prisma deploy -e .env-dev
And for docker containers (if you're using them) you can look here for instructions on
--env-file=.env-dev
for docker and docker-compose. https://docs.docker.com/compose/environment-variables/#pass-environment-variables-to-containers