-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy path.env.example
More file actions
14 lines (11 loc) · 817 Bytes
/
Copy path.env.example
File metadata and controls
14 lines (11 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Local PostgreSQL settings for Docker Compose.
# Defaults already match README.md, backend/.env.example, and docs/LOCAL_DATABASE.md.
# Keep explicit user/password credentials in Prisma URLs even on local native PostgreSQL. The template baseline uses `superuser` / `superpassword` for local examples.
POSTGRES_PORT=54329
POSTGRES_TEST_PORT=54330
# Application database used by backend/.env in local development.
DATABASE_URL="postgresql://superuser:superpassword@localhost:54329/web_app_demo?schema=public"
# Test database used by backend integration, Docker smoke, and Playwright E2E.
# Automated runners may override POSTGRES_TEST_PORT with a repository-derived
# port so parallel checkouts do not collide.
TEST_DATABASE_URL="postgresql://superuser:superpassword@localhost:54330/web_app_demo_test?schema=public"