Adding content to git
This commit is contained in:
@@ -1,5 +1,81 @@
|
||||
services:
|
||||
|
||||
# ── Identity init containers ───────────────────────────────────────────────
|
||||
# Each agent0 container has a corresponding *-init service that runs once on
|
||||
# startup, pulls the agent's persona from the gnommoweb Content API, and
|
||||
# writes it to the shared volume. The main agent container depends on its
|
||||
# init service completing successfully before starting.
|
||||
#
|
||||
# To re-pull identity after an edit in gnommoweb admin:
|
||||
# docker compose up --force-recreate dobby-init dobby (etc.)
|
||||
|
||||
dobby-init:
|
||||
image: python:3.12-alpine
|
||||
volumes:
|
||||
- ./agents/dobby:/a0/usr
|
||||
- ./scripts:/scripts:ro
|
||||
environment:
|
||||
AGENT_ID: ${DOBBY_AGENT_ID:-}
|
||||
AGENT_TYPE: agent0
|
||||
CONTENT_API_URL: ${API_URL}
|
||||
CONTENT_API_KEY: ${CONTENT_API_KEY}
|
||||
command: ["python3", "/scripts/pull-agent-identity.py"]
|
||||
restart: "no"
|
||||
|
||||
gemma-init:
|
||||
image: python:3.12-alpine
|
||||
volumes:
|
||||
- ./agents/gemma:/a0/usr
|
||||
- ./scripts:/scripts:ro
|
||||
environment:
|
||||
AGENT_ID: ${GEMMA_AGENT_ID:-}
|
||||
AGENT_TYPE: agent0
|
||||
CONTENT_API_URL: ${API_URL}
|
||||
CONTENT_API_KEY: ${CONTENT_API_KEY}
|
||||
command: ["python3", "/scripts/pull-agent-identity.py"]
|
||||
restart: "no"
|
||||
|
||||
gunnar-init:
|
||||
image: python:3.12-alpine
|
||||
volumes:
|
||||
- ./agents/gunnar:/a0/usr
|
||||
- ./scripts:/scripts:ro
|
||||
environment:
|
||||
AGENT_ID: ${GUNNAR_AGENT_ID:-}
|
||||
AGENT_TYPE: agent0
|
||||
CONTENT_API_URL: ${API_URL}
|
||||
CONTENT_API_KEY: ${CONTENT_API_KEY}
|
||||
command: ["python3", "/scripts/pull-agent-identity.py"]
|
||||
restart: "no"
|
||||
|
||||
rind-init:
|
||||
image: python:3.12-alpine
|
||||
volumes:
|
||||
- ./agents/rind:/a0/usr
|
||||
- ./scripts:/scripts:ro
|
||||
environment:
|
||||
AGENT_ID: ${RIND_AGENT_ID:-}
|
||||
AGENT_TYPE: agent0
|
||||
CONTENT_API_URL: ${API_URL}
|
||||
CONTENT_API_KEY: ${CONTENT_API_KEY}
|
||||
command: ["python3", "/scripts/pull-agent-identity.py"]
|
||||
restart: "no"
|
||||
|
||||
abyssinthia-init:
|
||||
image: python:3.12-alpine
|
||||
volumes:
|
||||
- ./agents/abyssinthia:/a0/usr
|
||||
- ./scripts:/scripts:ro
|
||||
environment:
|
||||
AGENT_ID: ${ABYSSINTHIA_AGENT_ID:-}
|
||||
AGENT_TYPE: agent0
|
||||
CONTENT_API_URL: ${API_URL}
|
||||
CONTENT_API_KEY: ${CONTENT_API_KEY}
|
||||
command: ["python3", "/scripts/pull-agent-identity.py"]
|
||||
restart: "no"
|
||||
|
||||
# ── Agent Zero instances ───────────────────────────────────────────────────
|
||||
|
||||
dobby:
|
||||
image: agent0ai/agent-zero:latest
|
||||
container_name: dobby
|
||||
@@ -9,6 +85,9 @@ services:
|
||||
- ./agents/dobby:/a0/usr
|
||||
- ${HOME}/.ssh:/root/.ssh
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
dobby-init:
|
||||
condition: service_completed_successfully
|
||||
environment:
|
||||
AUTH_LOGIN: ${AUTH_LOGIN}
|
||||
AUTH_PASSWORD: ${AUTH_PASSWORD}
|
||||
@@ -24,6 +103,9 @@ services:
|
||||
- ./agents/gemma:/a0/usr
|
||||
- ${HOME}/.ssh:/root/.ssh
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
gemma-init:
|
||||
condition: service_completed_successfully
|
||||
environment:
|
||||
AUTH_LOGIN: ${AUTH_LOGIN}
|
||||
AUTH_PASSWORD: ${AUTH_PASSWORD}
|
||||
@@ -39,6 +121,9 @@ services:
|
||||
- ./agents/gunnar:/a0/usr
|
||||
- ${HOME}/.ssh:/root/.ssh
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
gunnar-init:
|
||||
condition: service_completed_successfully
|
||||
environment:
|
||||
AUTH_LOGIN: ${AUTH_LOGIN}
|
||||
AUTH_PASSWORD: ${AUTH_PASSWORD}
|
||||
@@ -54,6 +139,9 @@ services:
|
||||
- ./agents/rind:/a0/usr
|
||||
- ${HOME}/.ssh:/root/.ssh
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
rind-init:
|
||||
condition: service_completed_successfully
|
||||
environment:
|
||||
AUTH_LOGIN: ${AUTH_LOGIN}
|
||||
AUTH_PASSWORD: ${AUTH_PASSWORD}
|
||||
@@ -69,11 +157,17 @@ services:
|
||||
- ./agents/abyssinthia:/a0/usr
|
||||
- ${HOME}/.ssh:/root/.ssh
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
abyssinthia-init:
|
||||
condition: service_completed_successfully
|
||||
environment:
|
||||
AUTH_LOGIN: ${AUTH_LOGIN}
|
||||
AUTH_PASSWORD: ${AUTH_PASSWORD}
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
||||
# ── Hermes agent ───────────────────────────────────────────────────────────
|
||||
|
||||
gerhard:
|
||||
image: hermes-agent:latest
|
||||
container_name: gerhard
|
||||
@@ -110,6 +204,8 @@ services:
|
||||
- "host.docker.internal:host-gateway"
|
||||
command: ["dashboard", "--host", "0.0.0.0", "--no-open", "--insecure", "--tui"]
|
||||
|
||||
# ── Plugins ────────────────────────────────────────────────────────────────
|
||||
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
container_name: festinger-postgres
|
||||
@@ -141,6 +237,8 @@ services:
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
||||
# ── Tunnel ─────────────────────────────────────────────────────────────────
|
||||
|
||||
glitch-tunnel:
|
||||
build:
|
||||
context: .
|
||||
|
||||
Reference in New Issue
Block a user