-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (28 loc) · 1.09 KB
/
.env.example
File metadata and controls
33 lines (28 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# ─────────────────────────────────────────
# Pitbook Environment Variables
# Copy this file to .env and fill in values
# ─────────────────────────────────────────
# Image version to pull from ghcr.io (e.g. 1.0.0, or "latest")
VERSION=latest
# Database
POSTGRES_USER=pitbook
POSTGRES_PASSWORD=change_me_in_production
POSTGRES_DB=pitbook
# Backend
API_HOST=0.0.0.0
API_PORT=3001
JWT_SECRET=change_me_in_production_use_a_long_random_string_at_least_32_chars
JWT_EXPIRES_IN=7d
FRONTEND_URL=http://localhost:3000
DATABASE_URL=postgresql://pitbook:change_me_in_production@localhost:5432/pitbook
# Frontend
WEB_HOST=0.0.0.0
WEB_PORT=3000
API_URL=http://localhost:3001
# OAuth/OIDC Configuration (optional)
OIDC_ENABLED=false
OIDC_ISSUER_URL=https://<your-oauth-instance>/application/o/pitbook/
OIDC_CLIENT_ID=pitbook
OIDC_CLIENT_SECRET=your_client_secret
OIDC_REDIRECT_URI=http://localhost:3001/auth/oauth/callback
OIDC_SCOPE='openid profile email'