-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
39 lines (38 loc) · 1.25 KB
/
Copy path.env.example
File metadata and controls
39 lines (38 loc) · 1.25 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
34
35
36
37
38
39
PORT=8080
BASE_URL=http://localhost:8080
WEB_BASE_URL=http://localhost:3000
DATABASE_URL=postgres://stint:stint@localhost:5432/stint?sslmode=disable
REDIS_URL=redis://localhost:6379
# Required for public BASE_URL deployments unless DEV_SEED_ENABLED=true is explicit.
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# Replace before using any public BASE_URL.
SESSION_SECRET=change-me-in-production
STORAGE_TYPE=local
STORAGE_PATH=./data/dumps
S3_BUCKET=
S3_REGION=us-east-1
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
SMTP_HOST=
SMTP_PORT=587
SMTP_USER=
SMTP_PASS=
EMAIL_FROM=noreply@example.com
ENABLE_PUBLIC_LEADERBOARD=true
ENABLE_REGISTRATION=true
MAX_USERS=0
# Local/private test only; defaults false when BASE_URL is public.
DEV_SEED_ENABLED=true
HEARTBEAT_RETENTION_DAYS=365
# Continuous AI-usage collector (docker compose --profile collector up -d collector).
# STINT_COLLECT_API_KEY is required; the rest have sensible defaults.
STINT_COLLECT_API_KEY=
STINT_COLLECT_API_URL=http://api:8080/api/v1
# Absolute path to your home dir. Compose does NOT expand ${HOME} from a .env
# file value, so set this explicitly. e.g. /home/youruser
STINT_COLLECT_HOME=/home/youruser
STINT_COLLECT_STATE_DIR=./.collector-state
STINT_COLLECT_UID=1000
STINT_COLLECT_GID=1000
STINT_COLLECT_INTERVAL=5m