Files
agentic-mobile-control/.env.example
T
2026-07-15 09:43:14 +08:00

27 lines
1.1 KiB
Bash

# Used by compose.deploy.yaml (image: git.jerryyan.net/q792602257/agentic-mobile-control:${IMAGE_TAG}).
# Jenkins publishes IMAGE_TAG as "<BUILD_NUMBER>-<git short sha>"; match the
# tag of the build you intend to deploy.
IMAGE_TAG=latest
POSTGRES_DB=device_cloud
POSTGRES_USER=device_cloud
POSTGRES_PASSWORD=change-me-database-password
CLOUD_API_PORT=8001
# Fernet key protecting database-managed LLM Provider API keys. Generate once
# and preserve it with the database backups (rotating it makes stored keys
# undecryptable):
# python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
CLOUD_LLM_PROVIDER_ENCRYPTION_KEY=change-me-generate-a-fernet-key
# Cloud-proxy planner budget reservations. These apply only to Hosts reporting
# AI_PLANNER_TRANSPORT=cloud.
CLOUD_PLANNER_TOKEN_RESERVATION_CEILING=4096
CLOUD_PLANNER_TOKEN_RESERVATION_TTL_SECONDS=300
# Successful Cloud-proxy planner decisions with task context retain prompt and
# tool-call history until their terminal task exceeds this retention window.
CLOUD_PLANNER_DECISION_LOG_PRUNE_INTERVAL_SECONDS=3600
CLOUD_PLANNER_DECISION_LOG_RETENTION_DAYS=7