-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy path.env.example
More file actions
120 lines (100 loc) · 5.24 KB
/
Copy path.env.example
File metadata and controls
120 lines (100 loc) · 5.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# sico -- Environment Variables
# Copy to .env and customize. This file is gitignored.
# Application environment: development | test | production.
# Controls runtime defaults such as Gin's mode (Debug in development,
# Release in production). Defaults to production when unset so that
# shipping deployments are safe by default; set to "development" locally
# for verbose Gin logs and debug helpers.
APP_ENV=development
# Seed the default organization, project, and ready-to-use agent instances.
# Keep this enabled for quick local setup; disable it for real deployments.
SEED_AGENT_INSTANCES=true
# Python package index used by local Core image builds and task execution.
# You can replace it with a private PyPI mirror or internal index if needed.
PYPI_INDEX_URL=https://pypi.org/simple
# npm registry used by local Frontend installs and image builds.
NPM_REGISTRY=https://registry.npmjs.org/
# Application database credentials
DB_PORT=3306
DB_NAME=sico
DB_USER=sico
DB_PASSWORD=changeme
# Redis
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=changeme-redis
REDIS_AUTH_TYPE=password
# Shared infrastructure providers
STORAGE_TYPE=seaweedfs
EVENT_BUS_TYPE=kafka
# Azure provider configuration. Enable these by setting STORAGE_TYPE=azure_blob,
# EVENT_BUS_TYPE=azure_service_bus, and REDIS_AUTH_TYPE=azure as needed.
# AZURE_BLOB_ENDPOINT=https://example.blob.core.windows.net/
# AZURE_BLOB_CONTAINER=sico
# AZURE_BLOB_CDN_ENDPOINT=https://cdn.example.com
# AZURE_SERVICE_BUS_NAMESPACE=example.servicebus.windows.net
# AZURE_SERVICE_BUS_AUTO_DELETE_ON_IDLE=P3D
# Azure Communication Services email. Sending email is disabled when any value is unset.
# MAIL_ENDPOINT=https://example.communication.azure.com/
# MAIL_ACCESS_KEY=
# MAIL_SENDER_ADDRESS=DoNotReply@example.azurecomm.net
# Docker Compose sends telemetry to its bundled Grafana LGTM service by default.
# Override these only to use another OTLP collector.
# OTEL_EXPORTER_OTLP_ENDPOINT=otel-lgtm:4317
# OTEL_EXPORTER_OTLP_INSECURE=true
# Maximum agent instances exported by each business-metric collection. Each
# instance creates a distinct high-cardinality metric series. Default: 1000.
# SICO_METRICS_AGENT_INSTANCE_LIMIT=1000
# Sandbox client auth (optional, local development examples)
# `examples/sandbox/apply_and_release.py` defaults to clientId `test-client`,
# so this secret lets an open-source checkout run the example without extra env
# renaming. Docker Compose forwards this value into the backend container, and
# the Python examples auto-load this repo-root `.env` when run via
# `python -m examples...`. A local backend binary reads `backend/.env` by
# default (override via `BACKEND_ROOT`), so when running the Go server from
# source keep the two files in sync or symlink them.
# For custom client IDs, use SANDBOX_CLIENT_SECRET_<CLIENT_ID> (uppercase,
# `-` replaced with `_`).
# These are example values for local use only. Change them before exposing the service.
SANDBOX_CLIENT_SECRET_TEST_CLIENT=change-me-local-secret
# Sandbox Python execution mode
# Set to true to run Python scripts locally via subprocess instead of Kubernetes pods
RUN_PYTHON_TOOL_SANDBOX_LOCAL_MODE=true
# RUN_PYTHON_TOOL_SANDBOX_LOCAL_PYTHON=python # override the Python executable path if needed
# Default task-runtime image and the executables it guarantees before skill preparation.
# When overriding the image, update the command inventory so skill resolution can require
# an explicit action image whenever the default environment is insufficient.
# TASK_RUNTIME_PYTHON_RUNNER_IMAGE=ghcr.io/astral-sh/uv:python3.14-alpine
# TASK_RUNTIME_DEFAULT_RUNNER_COMMANDS=apk,python,sh,uv
# Experience learning
EXPERIENCES_ENABLED=true
# Sandbox emulator (MuMu / Android emulator) HTTP endpoint that the backend talks to.
# When the emulator runs on your *host machine* (not in compose / not in kind):
# - For docker-compose: use host.docker.internal (a host alias is added automatically
# for Linux compatibility; Docker Desktop on Windows/macOS resolves it natively).
# - For kind: leave the host part as `host.docker.internal`; deploy/kind/setup.sh
# resolves it to the Docker Desktop host IP and rewrites the URL when invoking helm.
# When the emulator itself runs in the same compose / k8s network, point this at the
# in-cluster service name instead.
SANDBOX_EMULATOR_BASE_URL=http://host.docker.internal:8000
# Shared by Backend and sandbox services that adopt service authentication.
# Exactly 64 lowercase hex characters. Local setup generates it when left blank.
SICO_SANDBOX_SERVICE_TOKEN=
# Local Compose builds one Linux Workstation.
# Override these only when testing a different local image or host debug port.
LINUX_WORKSTATION_SANDBOX_BASE_IMAGE=sico/linux-workstation-sandbox-base:local
LINUX_WORKSTATION_SANDBOX_IMAGE=sico/linux-workstation-sandbox:local
LINUX_WORKSTATION_SANDBOX_PORT=14008
# Exposed port (nginx)
SICO_PORT=8080
SICO_APP_NAME=sico
# BACKEND_ROOT overrides the auto-detected backend source root (used to
# locate configs/migrations). The compiled Docker image already lays out the
# source at /app so this is only needed when running the binary outside its
# build tree.
# BACKEND_ROOT=/app
# Kind / Kubernetes (only needed for make kind-up)
REGISTRY=localhost:5000
KUBE_CONTEXT=kind-sico
# Chat agent configuration
CHAT_AGENT_MAX_ITERATIONS=1000