How to run database as a docker container Step 1: Move to folder where docker-compose.yml is located If you have not created a container, run this command docker compose up -d If you have created container, but it is currently stop, run this command docker compose start Step 2: Apply migration cd server npx prisma migrate dev