-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
119 lines (108 loc) · 3.73 KB
/
docker-compose.dev.yml
File metadata and controls
119 lines (108 loc) · 3.73 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
version: '3.9'
# Development override — run with:
# docker compose -f docker-compose.yml -f docker-compose.dev.yml up
#
# Hot reload: source code is mounted into containers.
# NestJS services use --watch mode, frontend uses Next.js HMR.
services:
api-gateway:
image: node:22-alpine
working_dir: /app
command: >
sh -c "npm install &&
cd libs/prisma-client && npx prisma generate && cd /app &&
npm run start:dev --workspace=@agent-workflow/api-gateway"
volumes:
- .:/app
- dev_node_modules:/app/node_modules
onboarding-service:
image: node:22-alpine
working_dir: /app
command: >
sh -c "npm install &&
cd libs/prisma-client && npx prisma generate && cd /app &&
npm run start:dev --workspace=@agent-workflow/onboarding-service"
volumes:
- .:/app
- dev_node_modules:/app/node_modules
connection-registry:
image: node:22-alpine
working_dir: /app
command: >
sh -c "npm install &&
cd libs/prisma-client && npx prisma generate && cd /app &&
npm run start:dev --workspace=@agent-workflow/connection-registry"
volumes:
- .:/app
- dev_node_modules:/app/node_modules
rag-registry:
image: node:22-alpine
working_dir: /app
command: >
sh -c "npm install &&
cd libs/prisma-client && npx prisma generate && cd /app &&
npm run start:dev --workspace=@agent-workflow/rag-registry"
volumes:
- .:/app
- dev_node_modules:/app/node_modules
agent-builder:
image: node:22-alpine
working_dir: /app
command: >
sh -c "npm install &&
cd libs/prisma-client && npx prisma generate && cd /app &&
npm run start:dev --workspace=@agent-workflow/agent-builder"
volumes:
- .:/app
- dev_node_modules:/app/node_modules
scheduler-service:
image: node:22-alpine
working_dir: /app
command: >
sh -c "npm install &&
cd libs/prisma-client && npx prisma generate && cd /app &&
npm run start:dev --workspace=@agent-workflow/scheduler-service"
volumes:
- .:/app
- dev_node_modules:/app/node_modules
agent-runtime:
image: node:22-alpine
working_dir: /app
command: >
sh -c "npm install &&
cd libs/prisma-client && npx prisma generate && cd /app &&
npm run start:dev --workspace=@agent-workflow/agent-runtime"
volumes:
- .:/app
- dev_node_modules:/app/node_modules
websocket-service:
image: node:22-alpine
working_dir: /app
command: >
sh -c "npm install &&
cd libs/prisma-client && npx prisma generate && cd /app &&
npm run start:dev --workspace=@agent-workflow/websocket-service"
volumes:
- .:/app
- dev_node_modules:/app/node_modules
frontend:
image: node:22-alpine
working_dir: /app/frontend/web
command: >
sh -c "cd /app && npm install && cd /app/frontend/web && npm run dev"
volumes:
- .:/app
- dev_node_modules:/app/node_modules
- frontend_next_cache:/app/frontend/web/.next
environment:
- NEXT_PUBLIC_API_URL=http://localhost:3001/api/v1
- NEXT_PUBLIC_WS_URL=ws://localhost:3002/ws
- NEXT_PUBLIC_FIREBASE_API_KEY=${NEXT_PUBLIC_FIREBASE_API_KEY}
- NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=${NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN}
- NEXT_PUBLIC_FIREBASE_PROJECT_ID=${NEXT_PUBLIC_FIREBASE_PROJECT_ID}
- NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=${NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET}
- NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=${NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID}
- NEXT_PUBLIC_FIREBASE_APP_ID=${NEXT_PUBLIC_FIREBASE_APP_ID}
volumes:
dev_node_modules:
frontend_next_cache: