Add Docker Compose fleet config for agent containerization (closes #5)

- docker-compose.yml: Ollama, Gitea, Agent worker, Monitor services
- Dockerfile.agent: Hermes agent worker image with health endpoint
- .env.example: Environment variable template
- README.md: Setup instructions and service documentation

Services include health checks, persistent volumes, isolated network,
and proper dependency ordering.
This commit is contained in:
Alexander Whitestone
2026-04-10 07:15:14 -04:00
parent ba4d9fc6ea
commit c92d986a67
4 changed files with 280 additions and 1 deletions

28
.env.example Normal file
View File

@@ -0,0 +1,28 @@
# .env.example
# Environment variables for fleet-ops Docker Compose
# Copy this file to .env and fill in your values.
# cp .env.example .env
# --- Agent ---
AGENT_NAME=hermes
AGENT_LOOP_INTERVAL=30
LOG_LEVEL=info
# --- Ollama ---
OLLAMA_PORT=11434
# --- Gitea ---
GITEA_UID=1000
GITEA_GID=1000
GITEA_ROOT_URL=http://gitea:3000
GITEA_DOMAIN=gitea
GITEA_WEB_PORT=3000
GITEA_SSH_PORT=2222
# --- Monitor ---
MONITOR_INTERVAL=60
# --- Agent API Keys (add your own) ---
# OPENAI_API_KEY=
# ANTHROPIC_API_KEY=
# NOSTR_PRIVATE_KEY=