-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
101 lines (98 loc) · 2.14 KB
/
Copy pathdocker-compose.yml
File metadata and controls
101 lines (98 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
services:
editor-server:
image: blacknode-server:local
build:
context: .
dockerfile: docker/Dockerfile.server
command:
- python
- -m
- uvicorn
- server:app
- --host
- 0.0.0.0
- --port
- "7777"
- --app-dir
- editor-server
ports:
- "7777:7777"
env_file:
- path: .env
required: false
environment:
BLACKNODE_EDITOR_URL: http://editor-server:7777
volumes:
- ./workflows:/app/workflows
- ./editor-server/runs:/app/editor-server/runs
networks:
- blacknode
healthcheck:
test: ["CMD", "curl", "-fsS", "http://localhost:7777/node-types"]
interval: 30s
timeout: 5s
retries: 5
start_period: 40s
editor:
image: blacknode-editor:local
build:
context: .
dockerfile: docker/Dockerfile.editor
ports:
- "3000:3000"
depends_on:
editor-server:
condition: service_healthy
networks:
- blacknode
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000/"]
interval: 30s
timeout: 5s
retries: 5
start_period: 20s
blacknode-mcp:
image: blacknode-server:local
command:
- blacknode
- mcp
- --transport
- streamable-http
- --host
- 0.0.0.0
- --port
- "9901"
- --path
- /mcp
- --allowed-host
- "localhost:*"
- --allowed-host
- "127.0.0.1:*"
- --allowed-host
- "blacknode-mcp:*"
- --allowed-host
- "host.docker.internal:*"
ports:
- "9901:9901"
env_file:
- path: .env
required: false
environment:
BLACKNODE_EDITOR_URL: http://editor-server:7777
volumes:
- ./workflows:/app/workflows
- ./editor-server/runs:/app/editor-server/runs
networks:
- blacknode
depends_on:
editor-server:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-s", "-o", "/dev/null", "http://localhost:9901/mcp"]
interval: 30s
timeout: 5s
retries: 5
start_period: 20s
networks:
blacknode:
driver: bridge