-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.docker.example
More file actions
36 lines (31 loc) · 1.14 KB
/
Copy pathenv.docker.example
File metadata and controls
36 lines (31 loc) · 1.14 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
# Docker Compose env. Copy to .env and adjust.
# Used by: docker compose (postgres, nest-api, web). Fragments: docker/compose/*.yml
# Postgres
POSTGRES_USER=school-os
POSTGRES_PASSWORD=school-os
POSTGRES_DB=school-os
POSTGRES_PORT=5433
# Nest API (required secrets must be 32+ chars in production)
NEST_API_PORT=4000
JWT_SECRET=development-only-jwt-secret-change-me-now
AUTH_TOKEN_SECRET=development-only-auth-token-secret-change-me
JWT_ACCESS_EXPIRES_IN=15m
CORS_ORIGIN=http://localhost:3000
AUTH_DEV_EXPOSE_CODES=false
AUTH_EMAIL_FROM=Starter <auth@example.com>
# Required when NODE_ENV=production (use a real Resend key in real deploys)
RESEND_API_KEY=re_local_dev_placeholder_not_for_prod
RUN_MIGRATIONS=true
TRUST_PROXY=false
DATABASE_POOL_MAX=10
# Next.js web (browser calls the published Nest port on the host)
WEB_PORT=3000
NEXT_PUBLIC_NEST_API_URL=http://localhost:4000
# Optional Rust API: docker compose --profile rust up -d
# RUST_API_PORT=3002
# Optional AI FastAPI: docker compose --profile ai up -d --build
AI_SERVICE_TOKEN=development-only-ai-service-token-change-me
AI_API_PORT=8000
AI_PROVIDER=mock
# OPENAI_API_KEY=
# OPENAI_MODEL=gpt-4o-mini