Hi guys. I consider running graphql-yoga and prism...
# orm-help
y
Hi guys. I consider running graphql-yoga and prisma on the same ec2 instance using docker-compose. The db on aws rdb. Is that a good idea? Currently I do not need much scaling and I find docker-compose simpler than e.g. yoga on lambda and prisma on fargate cluster. What are your thoughts?
l
That's perfectly reasonable, in my opinion. Prisma seems to be happy with > 1gb of ram. Scale accordingly and all should be well. I have a smaller, non-critical server on Digital Ocean that uses docker-compose to orchestrate Prisma + Yoga + Postgres + Nginx. Zero problems with it in 6 months.
y
Thanks 🙂 just what I need to hear 🙂 May I ask what docker image you use for Yoga? node:alpine?
l
I'm on my phone, but I'm 99% sure it was node:alpine. I don't recall Yoga needing any special voodoo.
y
fantastic 🙂 thanks