sns-network-solutions/ai-core/docker-compose.yml
Samuel James 55a80ce6e3 Move ai-core team into repo; relocate sns.md to ai-core/knowledge
- Add ai-core/ — Chief, Scout, Scribe OpenClaw agents + shared knowledge base
- Consolidate research/reference docs and the sns.md brand foundation under
  ai-core/knowledge/
- Repoint every sns.md reference (business branding, divisions, root README) to
  ai-core/knowledge/sns.md
- Update root + ai-core READMEs to reflect the new structure
2026-07-17 15:33:58 -05:00

30 lines
1.1 KiB
YAML

# AI Core — OpenClaw gateway.
# Reproducible: this same file runs on the ws VM now and on AWS EC2 later.
# Image + gateway port (18789) + state path verified against OpenClaw docs.
services:
gateway:
image: ghcr.io/openclaw/openclaw:latest
container_name: ai-core-gateway
restart: unless-stopped
env_file: .env
ports:
# Loopback only. The gateway has no auth by default — never bind 0.0.0.0.
# Reach it over Tailscale or an SSH tunnel (see README).
- "127.0.0.1:18789:18789"
volumes:
# Persistent state: config, agent workspaces, sessions. Gitignored.
- ./state:/home/node/.openclaw
# Canonical agent definitions (read-only reference for the register step).
# ponytail: registration is a documented manual step (openclaw agents add);
# confirm the workspace path contract on first run. Ceiling: not yet automated.
- ./agents:/opt/ai-core/agents:ro
# OpenClaw OOMs (exit 137) under ~2GB; 4GB recommended.
mem_limit: 4g
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:18789/healthz"]
interval: 30s
timeout: 5s
retries: 3
start_period: 40s