44 lines
823 B
YAML
44 lines
823 B
YAML
# Production Configuration for Public Web Frontend
|
|
|
|
app:
|
|
name: "Code of Conquest - Web UI"
|
|
version: "0.1.0"
|
|
environment: "production"
|
|
debug: false
|
|
|
|
server:
|
|
host: "0.0.0.0"
|
|
port: 8000
|
|
workers: 4
|
|
|
|
api:
|
|
# API backend base URL (set via environment variable in production)
|
|
# Use: API_BASE_URL environment variable
|
|
base_url: "https://api.codeofconquest.com"
|
|
timeout: 30
|
|
verify_ssl: true
|
|
|
|
session:
|
|
# Session lifetime in hours
|
|
lifetime_hours: 24
|
|
cookie_secure: true # HTTPS only
|
|
cookie_httponly: true
|
|
cookie_samesite: "Strict"
|
|
|
|
cors:
|
|
enabled: false # Not needed in production if same domain
|
|
|
|
logging:
|
|
level: "INFO"
|
|
format: "json"
|
|
handlers:
|
|
- "console"
|
|
- "file"
|
|
file_path: "/var/log/coc/web.log"
|
|
|
|
# UI Settings
|
|
ui:
|
|
theme: "dark"
|
|
items_per_page: 20
|
|
enable_animations: true
|