# Budibase Configuration

# Version
BUDIBASE_VERSION=3.23.0
REDIS_VERSION=7-alpine

# Port Configuration
BUDIBASE_PORT_OVERRIDE=10000

# Internal Service Ports (usually no need to change)
BUDIBASE_APP_PORT=4002
BUDIBASE_WORKER_PORT=4003
BUDIBASE_MINIO_PORT=4004
BUDIBASE_COUCH_DB_PORT=4005
BUDIBASE_REDIS_PORT=6379

# Environment
BUDIBASE_ENVIRONMENT=PRODUCTION
BUDIBASE_DEPLOYMENT_ENVIRONMENT=docker

# Security Settings - IMPORTANT: Change these in production!
BUDIBASE_INTERNAL_API_KEY=changeme_internal_api_key_minimum_32_chars
BUDIBASE_JWT_SECRET=changeme_jwt_secret_minimum_32_chars
BUDIBASE_MINIO_ACCESS_KEY=budibase
BUDIBASE_MINIO_SECRET_KEY=budibase
BUDIBASE_COUCHDB_USER=admin
BUDIBASE_COUCHDB_PASSWORD=admin

# Admin User - IMPORTANT: Change these!
BUDIBASE_ADMIN_EMAIL=admin@budibase.com
BUDIBASE_ADMIN_PASSWORD=changeme

# Optional: Account Portal URL
BUDIBASE_ACCOUNT_PORTAL_URL=https://account.budibase.app

# Optional: PostHog Analytics Token (leave empty to disable)
BUDIBASE_POSTHOG_TOKEN=

# Timezone
TZ=UTC

# Resource Limits - Budibase
BUDIBASE_CPU_LIMIT=2.0
BUDIBASE_CPU_RESERVATION=0.1
BUDIBASE_MEMORY_LIMIT=2G
BUDIBASE_MEMORY_RESERVATION=512M

# Resource Limits - Redis
REDIS_CPU_LIMIT=0.5
REDIS_CPU_RESERVATION=0.1
REDIS_MEMORY_LIMIT=512M
REDIS_MEMORY_RESERVATION=128M