# Phoenix version
PHOENIX_VERSION=15.5.0

# Timezone
TZ=UTC

# Phoenix ports
PHOENIX_PORT_OVERRIDE=6006           # UI and OTLP HTTP collector
PHOENIX_GRPC_PORT_OVERRIDE=4317      # OTLP gRPC collector
PHOENIX_PROMETHEUS_PORT_OVERRIDE=9090 # Prometheus metrics (optional)

# Phoenix configuration
PHOENIX_ENABLE_PROMETHEUS=false
PHOENIX_SECRET=NOT_SECURE_0fdf298eefb2ceef8ab3d7bd5319060e  # !Change me! Set for authentication, generate with: openssl rand -base64 32

# PostgreSQL configuration (only used when COMPOSE_PROFILES=postgres)
POSTGRES_VERSION=17.2-alpine3.21
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=phoenix

# Resource limits for Phoenix
PHOENIX_CPU_LIMIT=2.0
PHOENIX_MEMORY_LIMIT=2G
PHOENIX_CPU_RESERVATION=0.1
PHOENIX_MEMORY_RESERVATION=512M

# Resource limits for PostgreSQL
PHOENIX_DB_CPU_LIMIT=1.0
PHOENIX_DB_MEMORY_LIMIT=1G
PHOENIX_DB_CPU_RESERVATION=0.1
PHOENIX_DB_MEMORY_RESERVATION=256M