47 lines
851 B
YAML
47 lines
851 B
YAML
# Development Configuration for Public Web Frontend
|
|
|
|
app:
|
|
name: "Code of Conquest - Web UI"
|
|
version: "0.1.0"
|
|
environment: "development"
|
|
debug: true
|
|
|
|
server:
|
|
host: "0.0.0.0"
|
|
port: 8000 # Different port from API (5000)
|
|
debug: true
|
|
workers: 1
|
|
|
|
api:
|
|
# API backend base URL
|
|
base_url: "http://localhost:5000"
|
|
timeout: 30
|
|
verify_ssl: false # Set to true in production
|
|
|
|
session:
|
|
# Session lifetime in hours
|
|
lifetime_hours: 24
|
|
cookie_secure: false # Set to true in production (HTTPS only)
|
|
cookie_httponly: true
|
|
cookie_samesite: "Lax"
|
|
|
|
cors:
|
|
enabled: true
|
|
origins:
|
|
- "http://localhost:8000"
|
|
- "http://127.0.0.1:8000"
|
|
|
|
logging:
|
|
level: "DEBUG"
|
|
format: "json"
|
|
handlers:
|
|
- "console"
|
|
- "file"
|
|
file_path: "logs/app.log"
|
|
|
|
# UI Settings
|
|
ui:
|
|
theme: "dark"
|
|
items_per_page: 20
|
|
enable_animations: true
|