# Pingora Proxy Manager Configuration
# https://github.com/DDULDDUCK/pingora-proxy-manager

# Image version (default: v1.0.3)
# Available tags: latest, slim, amd64-slim, v1.0.3
PINGORA_VERSION=v1.0.3

# Timezone setting (default: UTC)
TZ=UTC

# JWT secret for authentication (CHANGE THIS IN PRODUCTION!)
# Used for API authentication and session management
PINGORA_JWT_SECRET=changeme_in_production_please

# Log level (trace, debug, info, warn, error)
PINGORA_LOG_LEVEL=info

# Port overrides
# HTTP proxy port (container listens on 8080)
PINGORA_HTTP_PORT_OVERRIDE=80
# Dashboard/API port (container listens on 81)
PINGORA_DASHBOARD_PORT_OVERRIDE=81
# HTTPS proxy port (container listens on 443)
PINGORA_HTTPS_PORT_OVERRIDE=443

# Resource limits
PINGORA_CPU_LIMIT=2.00
PINGORA_MEMORY_LIMIT=512M
PINGORA_CPU_RESERVATION=0.50
PINGORA_MEMORY_RESERVATION=256M

# Optional: Global registry prefix (e.g., registry.example.com/)
# GLOBAL_REGISTRY=
