# Overleaf version (ShareLaTeX image)
OVERLEAF_VERSION=5.2.1

# MongoDB version
MONGO_VERSION=6.0

# Redis version
REDIS_VERSION=7-alpine

# Timezone
TZ=UTC

# Global registry prefix (optional)
# GLOBAL_REGISTRY=your-registry.example.com/

# ==================== Port Overrides ====================

# Overleaf HTTP port (default: 8080)
# OVERLEAF_PORT_OVERRIDE=8080

# ==================== Overleaf Configuration ====================

# Enable subscriptions (true/false)
# ENABLE_SUBSCRIPTIONS=false

# Application name displayed in web UI
# SHARELATEX_APP_NAME=Overleaf

# Use secure cookies (set to true if using HTTPS)
# SHARELATEX_SECURE_COOKIE=false

# Administrator email addresses (comma-separated)
# SHARELATEX_ADMIN_EMAILS=admin@example.com

# Run behind proxy (set to true if using reverse proxy)
# SHARELATEX_BEHIND_PROXY=true

# Navigation bar title
# SHARELATEX_NAV_TITLE=Community Edition

# Enable LaTeX typesetting with latexmk
# LATEX_AVAILABLE_LATEXMK=true

# ==================== Resource Limits (Overleaf) ====================

# Overleaf CPU limits
# OVERLEAF_CPU_LIMIT=2.00
# OVERLEAF_CPU_RESERVATION=0.50

# Overleaf Memory limits
# OVERLEAF_MEMORY_LIMIT=2G
# OVERLEAF_MEMORY_RESERVATION=1G

# ==================== Resource Limits (MongoDB) ====================

# MongoDB CPU limits
# MONGO_CPU_LIMIT=1.00
# MONGO_CPU_RESERVATION=0.25

# MongoDB Memory limits
# MONGO_MEMORY_LIMIT=1G
# MONGO_MEMORY_RESERVATION=512M

# ==================== Resource Limits (Redis) ====================

# Redis CPU limits
# REDIS_CPU_LIMIT=0.50
# REDIS_CPU_RESERVATION=0.25

# Redis Memory limits
# REDIS_MEMORY_LIMIT=512M
# REDIS_MEMORY_RESERVATION=256M
