fix: use msg.Reply instead of header for NATS reply-to
This commit is contained in:
1 parent
8a8caa1ca7
commit
cbb7929ea6
2 files changed
-108
No files matched your search
@@ -1,33 +0,0 @@
|
||||
# Docker Compose overlay: only fields that differ from the base config.
|
||||
# The daemon loads both -- base config.toml first, then this file on top
|
||||
# (config.LoadOverlay) -- so config.toml (the same file inprocess mode
|
||||
# reads) stays the single source of truth for bot_user, forge, dispatch,
|
||||
# models, providers, budgets, and repos. See docker-compose.yml's
|
||||
# `-config` / `-config-overlay` flags and volume mounts.
|
||||
|
||||
work_dir = "/var/lib/archie/work"
|
||||
db_path = "/var/lib/archie/archie.db"
|
||||
|
||||
[agent]
|
||||
mode = "nats"
|
||||
|
||||
[nats]
|
||||
url = "nats://nats:4222"
|
||||
|
||||
[containers]
|
||||
network = "archie-core_default"
|
||||
enabled = true
|
||||
image = "git.catlow.cloud/sam/archie-agent:latest"
|
||||
max_concurrency = 4
|
||||
max_uptime = "60m"
|
||||
pull_policy = "always"
|
||||
|
||||
[web]
|
||||
listen = "0.0.0.0:8484"
|
||||
|
||||
[[tools.mcp_servers]]
|
||||
name = "desktop-commander"
|
||||
transport = "stdio"
|
||||
command = "npx"
|
||||
args = ["-y", "@wonderwhy-er/desktop-commander@0.2.46", "--no-onboarding"]
|
||||
work_dir = "/workspace"
|
||||
@@ -1,75 +0,0 @@
|
||||
# archie-core stack: daemon, NATS, and agent containers.
|
||||
#
|
||||
# Start: docker compose up -d
|
||||
# Stop: docker compose down
|
||||
# Logs: docker compose logs -f archied
|
||||
|
||||
services:
|
||||
# ── NATS JetStream ────────────────────────────────────────────────
|
||||
nats:
|
||||
image: nats:2.14-alpine3.22
|
||||
command: -js -m 8222
|
||||
ports:
|
||||
- "4222:4222" # client
|
||||
- "8222:8222" # monitoring (http://localhost:8222)
|
||||
volumes:
|
||||
- nats_data:/data
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-q", "-O", "-", "http://localhost:8222/healthz"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
# ── archie daemon ──────────────────────────────────────────────────
|
||||
archied:
|
||||
image: git.catlow.cloud/sam/archied:latest
|
||||
command: -config /etc/archie/config.toml -config-overlay /etc/archie/config.docker.toml
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
ports:
|
||||
- "8484:8484" # web dashboard
|
||||
environment:
|
||||
- ARCHIE_GITEA_TOKEN
|
||||
- ARCHIE_GITEA_TOKEN_ARCHIE
|
||||
- HEYARCHIE_TELEGRAM_BOT_TOKEN
|
||||
- DEEPSEEK_API_KEY
|
||||
volumes:
|
||||
- ${HOME}/.config/archie/config.toml:/etc/archie/config.toml:ro
|
||||
- ./config.docker.toml:/etc/archie/config.docker.toml:ro
|
||||
- ./:/workspace
|
||||
- /var/lib/archie/work:/var/lib/archie/work
|
||||
- /var/lib/archie/db:/var/lib/archie
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
depends_on:
|
||||
nats:
|
||||
condition: service_healthy
|
||||
restart: unless-stopped
|
||||
|
||||
# ── agent image (built once, spawned by daemon) ────────────────────
|
||||
agent:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: git.catlow.cloud/sam/archie-agent:latest
|
||||
command: ["true"]
|
||||
entrypoint: [""]
|
||||
restart: "no"
|
||||
|
||||
# ── deploy watcher ──────────────────────────────────────────────────
|
||||
# Polls the registry for new archied/archie-agent images (pushed by
|
||||
# .gitea/workflows/deploy.yml on merge to main) and restarts the
|
||||
# containers that changed. Registry auth comes from the host's
|
||||
# existing `docker login` config, mounted read-only.
|
||||
watchtower:
|
||||
image: nickfedor/watchtower
|
||||
environment:
|
||||
- DOCKER_CONFIG=/
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ${HOME}/.docker/config.json:/config.json:ro
|
||||
command: --interval 60 --cleanup archie-core-archied-1 archie-core-archied-winter-1
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
nats_data:
|
||||
Reference in new issue
Block a user