Skip to content

Commit

Permalink
add prisma studio to webserver
Browse files Browse the repository at this point in the history
  • Loading branch information
glasss13 committed Sep 20, 2024
1 parent b7803df commit 7f4df70
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions web/dev/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@ services:
volumes:
- postgres_data:/var/lib/postgresql/data

prisma-studio:
image: node:latest
working_dir: /app
volumes:
- ..:/app
command: ["npx", "prisma", "studio"]
ports:
- "5555:5555" # You can customize this port if needed
depends_on:
- postgres

volumes:
postgres_data:
localstack:

0 comments on commit 7f4df70

Please sign in to comment.