16 lines
546 B
Bash
16 lines
546 B
Bash
# Port the API listens on
|
|
PORT=3001
|
|
|
|
# Postgres connection string. If omitted, the server falls back to an
|
|
# embedded PGlite database (stored in ./.pgdata) — handy for local dev.
|
|
# DATABASE_URL=postgres://skori:skori@postgres:5432/skori
|
|
|
|
# Secret used to sign JWT access tokens (CHANGE THIS in production)
|
|
JWT_SECRET=dev-secret-change-me
|
|
|
|
# Comma-separated list of allowed CORS origins (only needed for cross-origin dev)
|
|
# CORS_ORIGINS=http://localhost:5173
|
|
|
|
# Set to "production" to enable Secure cookies (requires HTTPS)
|
|
NODE_ENV=development
|