39 lines
901 B
Plaintext
39 lines
901 B
Plaintext
# Database Configuration
|
|
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
DB_USER=party
|
|
DB_PASS=your_db_password_here
|
|
DB_NAME=partydb
|
|
DB_SSLMODE=disable
|
|
|
|
# Or use a full DATABASE_URL instead of individual DB_* vars
|
|
# DATABASE_URL=postgres://user:pass@host:port/dbname?sslmode=disable
|
|
|
|
# Database Connection Pool
|
|
DB_MAX_OPEN_CONNS=25
|
|
DB_MAX_IDLE_CONNS=25
|
|
DB_CONN_MAX_LIFETIME=30m
|
|
|
|
# Server Configuration
|
|
PORT=3000
|
|
TUNNEL_PORT=4000
|
|
|
|
# Postgres (for docker-compose)
|
|
POSTGRES_USER=party
|
|
POSTGRES_PASSWORD=secret
|
|
POSTGRES_DB=partydb
|
|
|
|
# Ory Configuration
|
|
ORY_PROJECT_ID=your_ory_project_id_here
|
|
ORY_PROJECT_SLUG=your_ory_project_slug_here
|
|
ORY_API_URL=https://your-project-slug.projects.oryapis.com
|
|
ORY_WORKSPACE_ID=your_ory_workspace_id_here
|
|
|
|
# Ory Hydra (if using self-hosted)
|
|
HYDRA_SYSTEM_SECRET=your_hydra_system_secret_here
|
|
|
|
# Ory Kratos (if using self-hosted)
|
|
KRATOS_PUBLIC=http://kratos:4433
|
|
DSN=memory
|
|
LOG_LEVEL=debug
|