37 lines
999 B
Plaintext
37 lines
999 B
Plaintext
# Compose Profiles
|
|
# Toggle between 'sqlite' (default) and 'postgres' (or 'pg')
|
|
COMPOSE_PROFILES=sqlite
|
|
|
|
# Phoenix version
|
|
PHOENIX_VERSION=12.28.1-nonroot
|
|
|
|
# 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= # Optional: 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.5
|
|
PHOENIX_MEMORY_RESERVATION=512M
|
|
|
|
# Resource limits for PostgreSQL
|
|
PHOENIX_DB_CPU_LIMIT=1.0
|
|
PHOENIX_DB_MEMORY_LIMIT=1G
|
|
PHOENIX_DB_CPU_RESERVATION=0.25
|
|
PHOENIX_DB_MEMORY_RESERVATION=256M
|