antcolony
All repositories: gitoria
3.2 KB
# .env.example — settings of the antcolony-scheduler container (mission 028). Copy to `.env` beside docker-compose.yml# and change what you need; `docker compose up -d` applies it (recreates the container). Unset lines = the defaults# in docker-compose.yml (= the documented scheduler defaults). Never commit the .env.# The creator's current setting (2026-09-24): quota checks off for the first live runs.COLONY_RESERVE=100 # 5 h window: no new start at/above this % (default 70; 100 = off)COLONY_WEEK_LIMIT=100 # weekly usage: no new start while above this % (default 84; 100 = off)# COLONY_LIVE=1 # 1 = run against the live tickets server (--live); 0 = refuse it (tests)# COLONY_TICKETS_URL=https://tickets.worldapi.org# COLONY_TOKEN_FILE=/home/mre/.config/antcolony/tickets-token# COLONY_RUN_INTERVAL=60 # seconds between iterations# COLONY_PARALLEL=1 # sessions at once (each gets COLONY_PORTS_PER_SESSION ports of the pool)# COLONY_MODEL=sonnet # worker model (haiku allowed, has no auto mode)# COLONY_MAX_TURNS=40# COLONY_WORK_TIMEOUT=3600 # seconds per worker session# COLONY_CONTROLLER_MODEL=sonnet# COLONY_CONTROLLER_MAX_TURNS=20# COLONY_CONTROLLER_TIMEOUT=900# COLONY_MAX_BUDGET_USD= # empty = no budget limit per session# COLONY_PORT_POOL=8700-8799 # NOTE Loreana: 8765, 8766, 8787, 8795 are used by other services (2026-09-24)# COLONY_PORTS_PER_SESSION=10# COLONY_RUN_ARGS= # extra `./colony run` options, e.g. --lease-ttl 7200 --heartbeat 3600# COLONY_STOP_FINISH_SECONDS=20 # docker stop: sessions may finish this long, then they are parked (keep < 75 s grace)# COLONY_LOG_MAX_BYTES=10485760 # logs/colony.log rotates at this size# COLONY_LOG_KEEP=5# COLONY_LIBRARIAN=on # mission 029: the librarian (creator's decisions → DECISIONS.md) first in every iteration; off = never# COLONY_LIBRARIAN_MODEL=sonnet # antcolony#20: `local` / `local:<alias>` = a small model on a local llama-server, Claude as fallback# COLONY_LOCAL_URL=http://127.0.0.1:8080/v1 # OpenAI-compatible endpoint of that server# COLONY_LIBRARIAN_FALLBACK=sonnet # where a text goes when the local model cannot answer (off = nowhere)# COLONY_LIBRARIAN_MAX=0 # creator texts classified per iteration (0 = all; a text left over → no start that iteration)# COLONY_CREATOR_NAMES=Caramboleyo,creator # the creator's display names in tickets (the API shows no user ids)# COLONY_CREATOR_TOKEN_FILE= # optional: a file with the CREATOR's tickets API token (0600) — without it /confirm and /reject in comments are answered "use the button"# CLAUDE_CONFIG_DIR=/home/mre/.claude-colony # workers use a SEPARATE Claude login/subscription; the host keeps ~/.claude.# One-time login: CLAUDE_CONFIG_DIR=/home/mre/.claude-colony claude → /login with the other account.# Then set this line in .env and: docker compose up -d (running sessions are parked and resumed).# mission 035 (antcolony#14): scheduler + agents per host (README "Scheduler + agents per host")# scheduler host: COLONY_SERVE=<port> COLONY_SERVE_HOST=127.0.0.1 COLONY_AGENT_TTL=30 COLONY_AGENT_TOKEN_FILE=<file with the shared secret># agent host: COLONY_SCHEDULER_URL=https://… COLONY_AGENT_TOKEN_FILE=<same secret> COLONY_AGENT_POLL=5 COLONY_AGENT_QUOTA_EVERY=60
Branches
- mainmain branch