feat: add agentmon monitor labels to swarm services
This commit is contained in:
@@ -65,6 +65,10 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
start_period: 15s
|
start_period: 15s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
labels:
|
||||||
|
agentmon.monitor: "true"
|
||||||
|
agentmon.role: "voice"
|
||||||
|
agentmon.port: "18801"
|
||||||
|
|
||||||
# kokoro TTS
|
# kokoro TTS
|
||||||
kokoro-tts:
|
kokoro-tts:
|
||||||
@@ -83,7 +87,11 @@ services:
|
|||||||
# - driver: nvidia
|
# - driver: nvidia
|
||||||
# count: all
|
# count: all
|
||||||
# capabilities: [gpu]
|
# capabilities: [gpu]
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
labels:
|
||||||
|
agentmon.monitor: "true"
|
||||||
|
agentmon.role: "voice"
|
||||||
|
agentmon.port: "18805"
|
||||||
|
|
||||||
# Optional local dependency: Brave Search MCP server (HTTP mode).
|
# Optional local dependency: Brave Search MCP server (HTTP mode).
|
||||||
# Start with: docker compose --profile search up -d brave-search
|
# Start with: docker compose --profile search up -d brave-search
|
||||||
@@ -99,6 +107,10 @@ services:
|
|||||||
- BRAVE_MCP_TRANSPORT=http
|
- BRAVE_MCP_TRANSPORT=http
|
||||||
- BRAVE_MCP_HOST=0.0.0.0
|
- BRAVE_MCP_HOST=0.0.0.0
|
||||||
- BRAVE_MCP_PORT=8000
|
- BRAVE_MCP_PORT=8000
|
||||||
|
labels:
|
||||||
|
agentmon.monitor: "true"
|
||||||
|
agentmon.role: "mcp"
|
||||||
|
agentmon.port: "18802"
|
||||||
|
|
||||||
# Optional local dependency: SearXNG metasearch instance.
|
# Optional local dependency: SearXNG metasearch instance.
|
||||||
# Start with: docker compose --profile search up -d searxng
|
# Start with: docker compose --profile search up -d searxng
|
||||||
@@ -114,6 +126,10 @@ services:
|
|||||||
- INSTANCE_NAME=Flynn Local SearXNG
|
- INSTANCE_NAME=Flynn Local SearXNG
|
||||||
volumes:
|
volumes:
|
||||||
- ./searxng/settings.yml:/etc/searxng/settings.yml:ro
|
- ./searxng/settings.yml:/etc/searxng/settings.yml:ro
|
||||||
|
labels:
|
||||||
|
agentmon.monitor: "true"
|
||||||
|
agentmon.role: "search"
|
||||||
|
agentmon.port: "18803"
|
||||||
|
|
||||||
# Optional local dependency: liteLLM proxy for unified LLM API.
|
# Optional local dependency: liteLLM proxy for unified LLM API.
|
||||||
# Start with: docker compose --profile api up -d litellm
|
# Start with: docker compose --profile api up -d litellm
|
||||||
@@ -156,6 +172,10 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
start_period: 15s
|
start_period: 15s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
labels:
|
||||||
|
agentmon.monitor: "true"
|
||||||
|
agentmon.role: "llm-proxy"
|
||||||
|
agentmon.port: "18804"
|
||||||
|
|
||||||
litellm-init:
|
litellm-init:
|
||||||
image: curlimages/curl:latest
|
image: curlimages/curl:latest
|
||||||
@@ -194,6 +214,9 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
start_period: 5s
|
start_period: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
labels:
|
||||||
|
agentmon.monitor: "true"
|
||||||
|
agentmon.role: "db"
|
||||||
|
|
||||||
# Dedicated local n8n instance for agent-oriented workflows.
|
# Dedicated local n8n instance for agent-oriented workflows.
|
||||||
# Start with: docker compose --profile automation up -d n8n-agent
|
# Start with: docker compose --profile automation up -d n8n-agent
|
||||||
@@ -221,6 +244,10 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
start_period: 30s
|
start_period: 30s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
labels:
|
||||||
|
agentmon.monitor: "true"
|
||||||
|
agentmon.role: "automation"
|
||||||
|
agentmon.port: "18808"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
# flynn-data:
|
# flynn-data:
|
||||||
|
|||||||
Reference in New Issue
Block a user