If in one project i need 100 prisma services, and ...
# orm-help
j
If in one project i need 100 prisma services, and if i have a folder for each one (with a prisma.yml, configured to each service), when i deploy a single service, the other ones don't change, right? And each service has it own database? Thanks
j
If you're running 100 Prisma services and 100 Databases, then yes. Although I fail to see why you'd ever want that. Don't know if the Prisma config (in
docker-compose.yml
) takes a database name as option (in which case you would only need to run 1 DB instance).
j
actually, i don't know what i need 🙂 I setup a mysql connection in docker-compose.yml. Then i'm deploying a lot of services and they just run! I'm trying to understand how it works
if prisma is using a single db for handle all services
or is creating a db for each one
j
Single DB, afaik. You can always explore this by exposing the mysql service outside docker and browsing the database using whatever tool MySQL uses for database browsing (I personally use PostgreSQL, so that's why I don't know).
j
Ok thanks! 😄
🦜 1