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:
28
.env.example
Normal file
28
.env.example
Normal 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=
|
||||
Reference in New Issue
Block a user