# Windmill Configuration

# Versions
WINDMILL_VERSION=main
WINDMILL_LSP_VERSION=latest
POSTGRES_VERSION=16-alpine

# Port Configuration
WINDMILL_PORT_OVERRIDE=8000
WINDMILL_LSP_PORT=3001

# Base URL
WINDMILL_BASE_URL=http://localhost:8000

# PostgreSQL Configuration
POSTGRES_DB=windmill
POSTGRES_USER=windmill
POSTGRES_PASSWORD=changeme

# Superadmin Credentials - IMPORTANT: Change these!
WINDMILL_SUPERADMIN_EMAIL=admin@windmill.dev
WINDMILL_SUPERADMIN_PASSWORD=changeme

# Optional: Enterprise License Key
WINDMILL_LICENSE_KEY=

# Worker Configuration
WINDMILL_WORKER_TAGS=
WINDMILL_NUM_WORKERS=3

# Logging
WINDMILL_LOG_LEVEL=info

# Timezone
TZ=UTC

# Resource Limits - Server
WINDMILL_SERVER_CPU_LIMIT=1.0
WINDMILL_SERVER_CPU_RESERVATION=0.25
WINDMILL_SERVER_MEMORY_LIMIT=1G
WINDMILL_SERVER_MEMORY_RESERVATION=256M

# Resource Limits - Worker
WINDMILL_WORKER_CPU_LIMIT=2.0
WINDMILL_WORKER_CPU_RESERVATION=0.5
WINDMILL_WORKER_MEMORY_LIMIT=2G
WINDMILL_WORKER_MEMORY_RESERVATION=512M

# Resource Limits - PostgreSQL
POSTGRES_CPU_LIMIT=1.0
POSTGRES_CPU_RESERVATION=0.25
POSTGRES_MEMORY_LIMIT=1G
POSTGRES_MEMORY_RESERVATION=256M
