# deploy-control runtime config

DEPLOY_CONTROL_HOST=0.0.0.0
DEPLOY_CONTROL_PORT=8090
DEPLOY_CONTROL_API_TOKEN=change-me

APP_INSTANCE_IMAGE=beaver/app-instance:latest
APP_INSTANCE_NETWORK_NAME=beaver-instance-edge

APP_INSTANCE_PROVIDER=openai
APP_INSTANCE_MODEL=openai/gpt-5
APP_INSTANCE_API_KEY=sk-xxxxxxxx
APP_INSTANCE_API_BASE=

# Used as a fallback when authz-service does not explicitly pass authz_base_url.
DEFAULT_AUTHZ_BASE_URL=http://beaver-authz-service:19090
DEFAULT_AUTHZ_OUTLOOK_MCP_URL=
DEFAULT_OUTLOOK_MCP_SERVER_ID=outlook_mcp

DEPLOY_PUBLIC_SCHEME=http
DEPLOY_PUBLIC_BASE_DOMAIN=localhost
DEPLOY_PUBLIC_HOST_TEMPLATE={slug}.{base_domain}
DEPLOY_PUBLIC_PORT=8088
DEPLOY_AUTO_START_PROXY=1
DEPLOY_HEALTH_TIMEOUT_SECONDS=60
DEPLOY_HEALTH_INTERVAL_SECONDS=1

# Passed through to create-instance.sh when the app-instance image is rebuilt.
AUTH_PORTAL_URL=http://127.0.0.1:3081
AUTH_PORTAL_PORT=3081
