-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.hybrid.yml
More file actions
78 lines (76 loc) · 2.31 KB
/
docker-compose.hybrid.yml
File metadata and controls
78 lines (76 loc) · 2.31 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
services:
memorycore-central:
build: .
container_name: memorycore-central
restart: unless-stopped
ports:
- "8787:8787"
environment:
- NODE_ENV=production
- OPENCLAW_HOST=0.0.0.0
- OPENCLAW_PORT=8787
- OPENCLAW_INSTANCE=central
- OPENCLAW_RUNTIME_DIR=/app/runtime
- OPENCLAW_DB_PATH=/app/runtime/openclaw.db
- OPENCLAW_DEFAULT_SCOPE=preferences
- OPENCLAW_ALLOWED_SCOPE_PREFIXES=preferences,identity,facts
- OPENCLAW_API_KEY=${OPENCLAW_API_KEY}
- OPENCLAW_CORS_ORIGIN=${OPENCLAW_CORS_ORIGIN:-*}
volumes:
- ./runtime/central:/app/runtime
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:8787/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
memorycore-project-a:
build: .
container_name: memorycore-project-a
restart: unless-stopped
ports:
- "8788:8787"
environment:
- NODE_ENV=production
- OPENCLAW_HOST=0.0.0.0
- OPENCLAW_PORT=8787
- OPENCLAW_INSTANCE=project-a
- OPENCLAW_RUNTIME_DIR=/app/runtime
- OPENCLAW_DB_PATH=/app/runtime/openclaw.db
- OPENCLAW_DEFAULT_SCOPE=project
- OPENCLAW_ALLOWED_SCOPE_PREFIXES=project,project-a
- OPENCLAW_API_KEY=${OPENCLAW_API_KEY}
- OPENCLAW_CORS_ORIGIN=${OPENCLAW_CORS_ORIGIN:-*}
volumes:
- ./runtime/project-a:/app/runtime
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:8787/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
memorycore-project-b:
build: .
container_name: memorycore-project-b
restart: unless-stopped
ports:
- "8789:8787"
environment:
- NODE_ENV=production
- OPENCLAW_HOST=0.0.0.0
- OPENCLAW_PORT=8787
- OPENCLAW_INSTANCE=project-b
- OPENCLAW_RUNTIME_DIR=/app/runtime
- OPENCLAW_DB_PATH=/app/runtime/openclaw.db
- OPENCLAW_DEFAULT_SCOPE=project
- OPENCLAW_ALLOWED_SCOPE_PREFIXES=project,project-b
- OPENCLAW_API_KEY=${OPENCLAW_API_KEY}
- OPENCLAW_CORS_ORIGIN=${OPENCLAW_CORS_ORIGIN:-*}
volumes:
- ./runtime/project-b:/app/runtime
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:8787/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s