55 lines
1.3 KiB
Plaintext
55 lines
1.3 KiB
Plaintext
# MoltBot Environment Configuration
|
|
# Copy this file to .env and configure the values
|
|
|
|
# Timezone (default: UTC)
|
|
TZ=UTC
|
|
|
|
# Global container registry prefix (optional)
|
|
# Examples: docker.io/, ghcr.io/, your-registry.com/
|
|
GLOBAL_REGISTRY=
|
|
|
|
# MoltBot Version
|
|
# Use 'main' for latest, or specific version tag like 'v2026.1.27'
|
|
MOLTBOT_VERSION=main
|
|
|
|
# === Gateway Configuration ===
|
|
# Gateway access token (REQUIRED - generate a secure random token)
|
|
# Example: openssl rand -hex 32
|
|
MOLTBOT_GATEWAY_TOKEN=your-secure-token-here
|
|
|
|
# Gateway bind address
|
|
# Options: loopback (127.0.0.1), lan (0.0.0.0 for LAN access)
|
|
MOLTBOT_GATEWAY_BIND=lan
|
|
|
|
# Gateway internal port (default: 18789)
|
|
MOLTBOT_GATEWAY_PORT=18789
|
|
|
|
# Gateway host port override (default: 18789)
|
|
MOLTBOT_GATEWAY_PORT_OVERRIDE=18789
|
|
|
|
# Bridge port override (default: 18790)
|
|
MOLTBOT_BRIDGE_PORT_OVERRIDE=18790
|
|
|
|
# === Model API Keys (Optional - if not using OAuth) ===
|
|
# Anthropic Claude API Key
|
|
ANTHROPIC_API_KEY=
|
|
|
|
# OpenAI API Key
|
|
OPENAI_API_KEY=
|
|
|
|
# Claude AI Session Keys (for web session auth)
|
|
CLAUDE_AI_SESSION_KEY=
|
|
CLAUDE_WEB_SESSION_KEY=
|
|
CLAUDE_WEB_COOKIE=
|
|
|
|
# === Resource Limits ===
|
|
# Gateway service resource limits
|
|
MOLTBOT_CPU_LIMIT=2.0
|
|
MOLTBOT_MEMORY_LIMIT=2G
|
|
MOLTBOT_CPU_RESERVATION=1.0
|
|
MOLTBOT_MEMORY_RESERVATION=1G
|
|
|
|
# CLI service resource limits
|
|
MOLTBOT_CLI_CPU_LIMIT=1.0
|
|
MOLTBOT_CLI_MEMORY_LIMIT=512M
|