forked from bidewio/better-openclaw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
102 lines (95 loc) · 2.57 KB
/
Copy pathdocker-compose.yml
File metadata and controls
102 lines (95 loc) · 2.57 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
102
services:
convex:
image: ghcr.io/get-convex/convex-backend:latest
stop_grace_period: 10s
stop_signal: SIGINT
ports:
- "3210:3210"
- "3211:3211"
volumes:
- convex-data:/convex/data
environment:
- CONVEX_CLOUD_ORIGIN=${CONVEX_CLOUD_ORIGIN:-http://127.0.0.1:3210}
- CONVEX_SITE_ORIGIN=${CONVEX_SITE_ORIGIN:-http://127.0.0.1:3211}
- INSTANCE_NAME=${INSTANCE_NAME:-openclaw-convex}
- INSTANCE_SECRET=${INSTANCE_SECRET:-}
- DATABASE_URL=${DATABASE_URL:-}
- RUST_LOG=${RUST_LOG:-info}
- DISABLE_BEACON=${DISABLE_BEACON:-}
- DO_NOT_REQUIRE_SSL=true
healthcheck:
test: curl -f http://localhost:3210/version
interval: 5s
timeout: 5s
retries: 5
start_period: 10s
restart: unless-stopped
networks:
- openclaw-network
convex-dashboard:
image: ghcr.io/get-convex/convex-dashboard:latest
stop_grace_period: 10s
stop_signal: SIGINT
ports:
- "6791:6791"
environment:
- NEXT_PUBLIC_DEPLOYMENT_URL=${NEXT_PUBLIC_DEPLOYMENT_URL:-http://convex:3210}
depends_on:
convex:
condition: service_healthy
restart: unless-stopped
networks:
- openclaw-network
api:
build:
context: .
dockerfile: packages/api/Dockerfile
ports:
- "3456:3456"
environment:
- NODE_ENV=production
- PORT=3456
restart: unless-stopped
networks:
- openclaw-network
web:
build:
context: .
dockerfile: packages/web/Dockerfile
ports:
- "3654:3654"
environment:
- NODE_ENV=production
- PORT=3654
restart: unless-stopped
networks:
- openclaw-network
mission-control:
build:
context: packages/mission-control
dockerfile: Dockerfile
args:
# VITE_CONVEX_URL is embedded into the JS bundle at build time by Vite.
# For Docker networking, the browser reaches Convex via the host, not the
# internal Docker network, so this should be the host-accessible URL.
VITE_CONVEX_URL: ${VITE_CONVEX_URL:-http://127.0.0.1:3210}
# URL the build container uses to push Convex functions.
CONVEX_SELF_HOSTED_URL: ${CONVEX_SELF_HOSTED_URL:-http://convex:3210}
secrets:
- convex_admin_key
ports:
- "3660:3660"
depends_on:
convex:
condition: service_healthy
restart: unless-stopped
networks:
- openclaw-network
secrets:
convex_admin_key:
environment: CONVEX_SELF_HOSTED_ADMIN_KEY
volumes:
convex-data:
networks:
openclaw-network:
driver: bridge