can i have multiple endpoints in my `prisma.yml` a...
# orm-help
r
can i have multiple endpoints in my
prisma.yml
and use environment variables or flags or something to specifiy which one
prisma deploy
should use?
a
Yes, you'd want to use environment variables. There's an example of the syntax for that here: https://github.com/graphql-boilerplates/node-graphql-server/blob/master/advanced/database/prisma.yml#L2
You could then run "prisma deploy" and even specify the "-e' flag to provide a .env file you want to load. That would be something like "prisma deploy -e config/dev.env" or "prisma deploy -e config/test.env"
r
that looks perfect, thank you 👍
a
🙂