Repository navigation
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
161 lines (144 loc) · 3.92 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
161 lines (144 loc) · 3.92 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
x-dev-worker: &dev-worker
image: futureagi/future-agi:dev
working_dir: /app/backend
pull_policy: never
volumes:
- ./futureagi:/app/backend
environment:
FAST_STARTUP: "true"
services:
frontend:
build:
context: ./frontend
target: dev
image: futureagi/frontend:dev
volumes:
- ./frontend:/app
- /app/node_modules
ports: !override
- "${FRONTEND_PORT:-3000}:3000"
environment:
VITE_USE_POLLING: "true"
VITE_HOST_API: ${VITE_HOST_API:-http://localhost:8000}
VITE_ENVIRONMENT: ${VITE_ENVIRONMENT:-development}
VITE_GOOGLE_SITE_KEY: ${VITE_GOOGLE_SITE_KEY:-}
VITE_HELP_LINK: ${VITE_HELP_LINK:-}
backend:
build:
context: .
dockerfile: Dockerfile
image: futureagi/future-agi:dev
ports:
- "${BACKEND_GRPC_PORT:-50051}:50051"
- "${FLOWER_PORT:-5555}:5555"
volumes:
- ./futureagi:/app/backend
environment:
FAST_STARTUP: "true"
# agentcc-gateway, serving, and code-executor are separate services we
# don't modify in local dev, so they are NOT built from source here —
# they inherit the pulled images from docker-compose.yml
# (futureagi/<svc>:${VERSION:-latest}). Only backend and frontend build
# from source. This also avoids pulling serving's private ECR base image.
worker:
<<: *dev-worker
deploy:
replicas: 0
worker-default:
<<: *dev-worker
profiles: !reset []
worker-tasks-s:
<<: *dev-worker
profiles: !reset []
worker-tasks-l:
<<: *dev-worker
profiles: !reset []
worker-tasks-xl:
<<: *dev-worker
profiles: !reset []
worker-trace-ingestion:
<<: *dev-worker
profiles: !reset []
worker-agent-compass:
<<: *dev-worker
profiles: !reset []
# SDK-bearing image (can't reuse *dev-worker); built from the local wheel via
# Dockerfile.simulation-runner.dev FROM futureagi/future-agi:dev (backend first).
worker-simulation-runner:
build:
context: .
dockerfile: Dockerfile.simulation-runner.dev
args:
BACKEND_IMAGE: futureagi/future-agi:dev
image: futureagi/future-agi-simulation-runner:dev
pull_policy: never
working_dir: /app/backend
volumes:
- ./futureagi:/app/backend
environment:
FAST_STARTUP: "true"
PYTHONUNBUFFERED: "1"
profiles: !reset []
postgres:
ports: !override
- "${PG_PORT:-5432}:5432"
clickhouse:
ports: !override
- "${CH_HTTP_PORT:-8123}:8123"
- "${CH_PORT:-9000}:9000"
redis:
ports: !override
- "${REDIS_PORT:-6379}:6379"
minio:
ports: !override
- "${MINIO_API_PORT:-9005}:9000"
- "${MINIO_CONSOLE_PORT:-9006}:9001"
temporal:
ports: !override
- "${TEMPORAL_PORT:-7233}:7233"
rabbitmq:
ports:
- "${RABBITMQ_PORT:-5672}:5672"
- "${RABBITMQ_MANAGEMENT_PORT:-15672}:15672"
temporal-ui:
profiles: !reset []
temporal-admin-tools:
profiles: !reset []
peerdb-catalog:
profiles: !reset []
peerdb-temporal:
profiles: !reset []
peerdb-minio:
profiles: !reset []
peerdb-flow-api:
profiles: !reset []
peerdb-flow-worker:
profiles: !reset []
peerdb-flow-snapshot-worker:
profiles: !reset []
peerdb-server:
profiles: !reset []
peerdb-ui:
profiles: !reset []
peerdb-temporal-init:
profiles: !reset []
peerdb-init:
profiles: !reset []
pgbouncer:
image: edoburu/pgbouncer:1.18.0
ports:
- "${PGBOUNCER_PORT:-6432}:6432"
depends_on:
postgres:
condition: service_healthy
volumes:
- ./futureagi/config/pgbouncer.ini:/etc/pgbouncer/pgbouncer.ini
- ./futureagi/config/userlist.txt:/etc/pgbouncer/userlist.txt
restart: unless-stopped
docker-proxy:
image: alpine/socat
command: -t 900 TCP-LISTEN:2375,fork,reuseaddr UNIX-CONNECT:/var/run/docker.sock
user: root
volumes:
- ${DOCKER_SOCKET:-/var/run/docker.sock}:/var/run/docker.sock
restart: unless-stopped