# ==============================================================================
# AI Agent Networking Lab (ANL) Backend API Server Configuration
# ==============================================================================

# Server binding host and port
HOST=0.0.0.0
PORT=8080

# SQLite database file path (Inside container: /app/data/anl.db)
DB_PATH=anl.db

# Gin runtime mode: release | debug | test
GIN_MODE=release

# Allowed CORS Origins (Comma separated, or * for all)
CORS_ALLOW_ORIGINS=*

# Admin console secret bearer token for POST/PUT/DELETE mutations (Required in release mode)
ADMIN_TOKEN=your_secure_admin_bearer_token_here

# Automatically run SQL schema migrations on startup (true | false)
AUTO_MIGRATE=true
