13 lines
466 B
Bash
13 lines
466 B
Bash
# Copy to .env and fill in. The web app (apps/web) runs on 3000, so the API uses 3001.
|
|
PORT=3001
|
|
|
|
# Matches docker-compose.local.yml in the repo root.
|
|
DATABASE_URL=postgres://postgres:postgres@localhost:5432/electro4ort
|
|
|
|
# Generate with: openssl rand -base64 32
|
|
BETTER_AUTH_SECRET=
|
|
# Public URL of this API.
|
|
BETTER_AUTH_URL=http://localhost:3001
|
|
# Comma-separated origins allowed to call the auth endpoints (CORS + CSRF check).
|
|
TRUSTED_ORIGINS=http://localhost:3000
|