-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
82 lines (71 loc) · 3.13 KB
/
Copy path.env.example
File metadata and controls
82 lines (71 loc) · 3.13 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Copy this file to `.env` (local dev) or use the snippets under `ops/env/`.
# Only variables defined here are validated in `lib/env.ts` unless noted.
# ---------------------------------------------------------------------
# Core app identity
# ---------------------------------------------------------------------
APP_URL=http://localhost:3000
NEXT_PUBLIC_SITE_URL=http://localhost:3000
SESSION_SECRET=please-generate-a-random-32-char-secret
DEPLOYMENT_ENVIRONMENT=development
# ---------------------------------------------------------------------
# Database (each environment must have its own instance)
# ---------------------------------------------------------------------
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/opensolve?schema=public
DIRECT_URL=postgresql://postgres:postgres@localhost:5432/opensolve?schema=public
# ---------------------------------------------------------------------
# Auth & OAuth
# ---------------------------------------------------------------------
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# Optional magic/transactional email (Resend)
RESEND_API_KEY=
RESEND_FROM_EMAIL=auth@opensolve.dev
# ---------------------------------------------------------------------
# AI / LLM (optional hints/explanations)
# ---------------------------------------------------------------------
AI_PROVIDER=
OPENAI_API_KEY=
OLLAMA_HOST=http://localhost:11434
# ---------------------------------------------------------------------
# Object storage (MinIO/S3) for avatars & future assets
# ---------------------------------------------------------------------
MINIO_ENDPOINT=localhost:9000
MINIO_BUCKET=opensolve-assets
MINIO_ACCESS_KEY=opensolve
MINIO_SECRET_KEY=opensolve-secret
MINIO_ROOT_USER=opensolve
MINIO_ROOT_PASSWORD=opensolve-secret
MINIO_REGION=us-east-1
MINIO_USE_SSL=false
MINIO_PUBLIC_URL=http://localhost:9000
# ---------------------------------------------------------------------
# Judge & realtime services
# ---------------------------------------------------------------------
JUDGE_RABBIT_URL=amqp://opensolve:opensolve@localhost:5672
JUDGE_RABBIT_PREFETCH=2
JUDGE_SANDBOX_DRIVER=docker
JUDGE_SANDBOX_WORKDIR=/tmp/opensolve-judge
REALTIME_WORKER_TOKEN=dev-realtime-token
# ---------------------------------------------------------------------
# Observability & diagnostics
# ---------------------------------------------------------------------
SENTRY_DSN=
SENTRY_ENVIRONMENT=development
NEXT_PUBLIC_SENTRY_DSN=
METRICS_ACCESS_TOKEN=optional-prometheus-bearer
LOG_LEVEL=info
# ---------------------------------------------------------------------
# Rate limiting defaults
# ---------------------------------------------------------------------
RATE_LIMIT_WINDOW_SECONDS=60
RATE_LIMIT_MAX_REQUESTS=250
# ---------------------------------------------------------------------
# Cryptography / secrets
# ---------------------------------------------------------------------
SENSITIVE_DATA_KEY=please-change-this-demo-key-32-chars
# ---------------------------------------------------------------------
# Tooling
# ---------------------------------------------------------------------
SKIP_ENV_VALIDATION=