You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
901 B
Bash
33 lines
901 B
Bash
# Know Foolery Environment Configuration
|
|
|
|
# Database
|
|
DATABASE_URL=sqlite:///./know_foolery.db
|
|
|
|
# JWT Secret (CHANGE THIS IN PRODUCTION!)
|
|
JWT_SECRET_KEY=your-super-secret-key-change-this-in-production
|
|
|
|
# OAuth Configuration (Auth0 example)
|
|
OAUTH_DOMAIN=your-auth0-domain.auth0.com
|
|
OAUTH_CLIENT_ID=your-auth0-client-id
|
|
OAUTH_CLIENT_SECRET=your-auth0-client-secret
|
|
|
|
# Service URLs (for development)
|
|
GAME_SERVICE_URL=http://game-service:8001
|
|
QUESTION_SERVICE_URL=http://question-service:8002
|
|
PLAYER_SERVICE_URL=http://player-service:8003
|
|
ADMIN_SERVICE_URL=http://admin-service:8004
|
|
|
|
# Development settings
|
|
DEBUG=true
|
|
NODE_ENV=development
|
|
|
|
# Redis (for caching and sessions)
|
|
REDIS_URL=redis://redis:6379
|
|
|
|
# CORS settings
|
|
FRONTEND_URL=http://localhost:3000
|
|
|
|
# Game Configuration
|
|
MAX_SESSION_DURATION=1800 # 30 minutes in seconds
|
|
MAX_ATTEMPTS_PER_QUESTION=3
|
|
QUESTION_TIMEOUT=120 # 2 minutes in seconds |