diff --git a/config.docker.toml b/config.docker.toml deleted file mode 100644 index b68686e56..000000000 --- a/config.docker.toml +++ /dev/null @@ -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" diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index e264b85f3..000000000 --- a/docker-compose.yml +++ /dev/null @@ -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: