feat: add swarm-monitor service to docker-compose
This commit is contained in:
@@ -84,6 +84,23 @@ services:
|
||||
NATS_URL: nats://nats:4222
|
||||
NATS_TOPIC: agentmon.events.v1
|
||||
|
||||
swarm-monitor:
|
||||
build: .
|
||||
container_name: agentmon-swarm-monitor
|
||||
command: swarm-monitor
|
||||
network_mode: host
|
||||
depends_on:
|
||||
nats:
|
||||
condition: service_started
|
||||
environment:
|
||||
NATS_URL: nats://localhost:4222
|
||||
NATS_TOPIC: agentmon.events.v1
|
||||
POLL_INTERVAL: 30s
|
||||
LITELLM_BASE_URL: http://localhost:18804
|
||||
LITELLM_MASTER_KEY: ${LITELLM_MASTER_KEY:-}
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
|
||||
openclaw-monitor:
|
||||
build: .
|
||||
container_name: agentmon-openclaw-monitor
|
||||
|
||||
Reference in New Issue
Block a user