-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (45 loc) · 1.24 KB
/
docker-compose.yml
File metadata and controls
48 lines (45 loc) · 1.24 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
services:
postgres:
image: postgres:16
environment:
POSTGRES_DB: aiid
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- "5432:5432"
volumes:
- aiid-postgres-data:/var/lib/postgresql/data
aiid-api:
build:
context: .
dockerfile: Dockerfile
environment:
AIID_APP_ENV: production
AIID_HTTP_HOST: 0.0.0.0
AIID_HTTP_PORT: 8080
AIID_DATABASE_URL: postgresql+psycopg2://postgres:postgres@postgres:5432/aiid
depends_on:
- postgres
ports:
- "8080:8080"
command: /bin/sh -c "python -m backend.app.init_db && python -m backend.app.main"
aiid-broker:
build:
context: .
dockerfile: Dockerfile
environment:
AIID_BROKER_SERVER_URL: http://aiid-api:8080
AIID_BROKER_HTTP_HOST: 0.0.0.0
AIID_BROKER_HTTP_PORT: 9901
AIID_BROKER_INSTALL_ID: openclaw-docker-instance
AIID_BROKER_RUNTIME_CLASS: openclaw-sidecar
AIID_BROKER_SOFTWARE_TYPE: openclaw
AIID_BROKER_SOFTWARE_VERSION: 0.1.0
AIID_BROKER_SOFTWARE_INSTANCE_CLAIM: sha256:docker-openclaw-demo
depends_on:
- aiid-api
ports:
- "9901:9901"
command: python -m backend.app.broker.main
volumes:
aiid-postgres-data: