-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (28 loc) · 1.34 KB
/
.env.example
File metadata and controls
35 lines (28 loc) · 1.34 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
# Database Configuration
# Copy this file to .env and update with your actual credentials
# PostgreSQL Database (used by Docker containers)
POSTGRES_USER=your_db_user
POSTGRES_PASSWORD=your_db_password
POSTGRES_DB=your_database_name
# Backend Connection (Async PostgreSQL)
# NOTE: When running with Docker Compose, this is automatically overridden
# to use the internal Docker hostname (postgres:5432 instead of localhost:5432)
DATABASE_URL=postgresql+asyncpg://your_db_user:your_db_password@localhost:5432/your_database_name
# Test Database (for running tests - uses port 5433)
TEST_DATABASE_URL=postgresql+asyncpg://your_db_user:your_db_password@localhost:5433/acmelearn_test
# Authentication (generate SECRET_KEY with: openssl rand -hex 32)
SECRET_KEY=your_secret_key_here_generate_with_openssl_rand_hex_32
ACCESS_TOKEN_EXPIRE_MINUTES=60
# Superuser (optional - creates admin on startup if set)
# Uncomment and set to create a superuser automatically
# SUPERUSER_EMAIL=admin@example.com
# SUPERUSER_PASSWORD=your_secure_password_here
# Demo User Seeding (for development/assessment demos)
# Set to true to auto-seed demo users on startup
SEED_DEMO_USERS=true
DEMO_USER_PASSWORD=123123123
# OpenAI API Configuration (required for AI recommendations)
OPENAI_API_KEY=your_openai_api_key_here
OPENAI_MODEL=gpt-5-nano
OPENAI_TEMPERATURE=0.3
OPENAI_TIMEOUT_SECONDS=120