Prisma 1 Forum

Dockerizing your Prisma service with Prisma Engine & MySQL

I found it difficult to compose my Prisma service (:4000) with Prisma engine (:4466) and MySQL (:3306). Docker networks on Macs work differently than Linux – which makes docker-compose’ing very frustrating (namely, because the containers cannot access each other via localhost). Created this boilerplate to alleviate this pain point.


  • Prisma Docker image v1.14
  • Node
  • MySQL
  • Build Options…
    • Option 1 (prod): run everything together as one docker container
    • Option 2 (dev): run prisma engine & mysql in container; run your service in localhost. Includes babel with live-reload.

If you use and run into pain point, GH issues are appreciated