mirror of
https://github.com/hanzoai/turborepo.git
synced 2026-10-30 19:44:51 +00:00
### Description Migrated sample with-prisma to pnpm and latest prisma version (currently 7.2.0) ### Testing Instructions Replace `yarn` with `pnpm`; no other changes needed.
20 lines
431 B
YAML
20 lines
431 B
YAML
version: "3"
|
|
|
|
volumes:
|
|
database:
|
|
driver: local
|
|
|
|
services:
|
|
db:
|
|
platform: linux/amd64
|
|
image: postgres:15 # Use a specific version of Postgres
|
|
restart: always
|
|
environment:
|
|
- POSTGRES_USER=sebi
|
|
- POSTGRES_PASSWORD=sebi_test_4444
|
|
- POSTGRES_DB=turborepo
|
|
ports:
|
|
- '5432:5432' # Expose the Postgres port to your local machine
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|