-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (62 loc) · 1.59 KB
/
docker-compose.yml
File metadata and controls
64 lines (62 loc) · 1.59 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
name: tooldock-local
services:
tooldock-core:
container_name: tooldock-core
image: tooldock-core
build:
context: .
dockerfile: core/Dockerfile
ports:
- "${CORE_PORT:-8000}:8000"
volumes:
- ./.tooldock-data:/data
env_file: .env
environment:
- MANAGER_INTERNAL_TOKEN=${MANAGER_INTERNAL_TOKEN}
- ENABLE_LEGACY_MCP=${ENABLE_LEGACY_MCP:-true}
healthcheck:
test:
[
"CMD",
"python",
"-c",
"import urllib.request; urllib.request.urlopen('http://localhost:8000/health', timeout=2)",
]
interval: 10s
timeout: 5s
retries: 3
restart: unless-stopped
tooldock-manager:
container_name: tooldock-manager
image: tooldock-manager
build:
context: .
dockerfile: manager/Dockerfile
ports:
- "${MANAGER_PORT:-8001}:8001"
volumes:
- ./.tooldock-data:/data
tmpfs:
- /dev/shm
env_file: .env
environment:
- CORE_URL=http://tooldock-core:8000
- MANAGER_INTERNAL_TOKEN=${MANAGER_INTERNAL_TOKEN}
- ENABLE_LEGACY_MCP=${ENABLE_LEGACY_MCP:-true}
- ENABLE_FS_WATCHER=${ENABLE_FS_WATCHER:-false}
- FS_WATCHER_DEBOUNCE_MS=${FS_WATCHER_DEBOUNCE_MS:-1500}
depends_on:
tooldock-core:
condition: service_healthy
healthcheck:
test:
[
"CMD",
"python",
"-c",
"import urllib.request; urllib.request.urlopen('http://localhost:8001/health', timeout=2)",
]
interval: 10s
timeout: 5s
retries: 3
restart: unless-stopped