forked from SolFoundry/solfoundry
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
36 lines (28 loc) · 985 Bytes
/
.env.example
File metadata and controls
36 lines (28 loc) · 985 Bytes
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
# SolFoundry environment. Copy to .env: cp .env.example .env
# PostgreSQL
POSTGRES_USER=solfoundry
POSTGRES_PASSWORD=solfoundry_dev
POSTGRES_DB=solfoundry
POSTGRES_PORT=5432
# Redis
REDIS_PORT=6379
# Backend
BACKEND_PORT=8000
SECRET_KEY=change-me-in-production
DATABASE_URL=postgresql+asyncpg://solfoundry:solfoundry_dev@postgres:5432/solfoundry
REDIS_URL=redis://redis:6379/0
# GitHub
GITHUB_TOKEN=
GITHUB_WEBHOOK_SECRET=
# Solana - defaults to devnet for safe local development
SOLANA_RPC_URL=https://api.devnet.solana.com
# Observability (Prometheus /metrics + background probes)
# OBSERVABILITY_ENABLE_BACKGROUND=true
# OBSERVABILITY_REFRESH_SECONDS=15
# OBSERVABILITY_REDIS_QUEUE_KEYS=review:queue,events:pending
# Frontend
FRONTEND_PORT=3000
VITE_API_URL=http://localhost:8000
# Deploy health-check URLs (set as GitHub repository variables, not secrets)
STAGING_HEALTH_URL=https://staging-api.solfoundry.org/health
PRODUCTION_HEALTH_URL=https://api.solfoundry.org/health