# TrailBase configuration

# Pin to the latest stable image tag
TRAILBASE_VERSION=0.22.4

# Host port mapping (maps to container port 4000)
TRAILBASE_PORT_OVERRIDE=4000

# Enable detailed stack traces for debugging (set to 0 in production)
TRAILBASE_RUST_BACKTRACE=1

# Logging configuration for the json-file driver
TRAILBASE_LOG_MAX_SIZE=100m
TRAILBASE_LOG_MAX_FILE=3

# Timezone
TZ=UTC

# Resource limits
TRAILBASE_CPU_LIMIT=1.0
TRAILBASE_MEMORY_LIMIT=1G
TRAILBASE_CPU_RESERVATION=0.25
TRAILBASE_MEMORY_RESERVATION=256M
