Add sidecar to docker-compose
This commit is contained in:
parent
7c0b99cb3e
commit
a4e5e16270
1 changed files with 36 additions and 0 deletions
36
docker-compose.yml
Normal file
36
docker-compose.yml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
services:
|
||||
herdctl:
|
||||
build: .
|
||||
container_name: herdctl
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./herdctl.yaml:/workspace/herdctl.yaml
|
||||
- ./agents:/workspace/agents
|
||||
- ./data:/home/node/.claude
|
||||
- ./mcp.json:/workspace/.mcp.json
|
||||
- ./.env:/workspace/.env:ro
|
||||
- ./state:/workspace/.herdctl
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "3232:3232"
|
||||
networks:
|
||||
- herdctl-net
|
||||
|
||||
herdctl-editor:
|
||||
build: ../herdctl-editor
|
||||
container_name: herdctl-editor
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./agents:/agents
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
ports:
|
||||
- "3233:3233"
|
||||
networks:
|
||||
- herdctl-net
|
||||
depends_on:
|
||||
- herdctl
|
||||
|
||||
networks:
|
||||
herdctl-net:
|
||||
driver: bridge
|
||||
Loading…
Reference in a new issue