-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
43 lines (40 loc) · 998 Bytes
/
docker-compose.dev.yml
File metadata and controls
43 lines (40 loc) · 998 Bytes
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
version: '3.8'
services:
backend:
container_name: support-bot-backend-dev
working_dir: /app/apps/backend
volumes:
- ./apps/backend:/app/apps/backend
- /app/apps/backend/node_modules
- ../Orka-ai:/app/orka-ai
command: npm run dev
ports:
- "3001:3001"
environment:
- NODE_ENV=development
- PORT=3001
- OPENAI_API_KEY=${OPENAI_API_KEY}
networks:
- support-bot-network
image: node:18-alpine
frontend:
container_name: support-bot-frontend-dev
working_dir: /app/apps/frontend
volumes:
- ./apps/frontend:/app/apps/frontend
- /app/apps/frontend/node_modules
- /app/apps/frontend/.next
command: npm run dev
ports:
- "3000:3000"
environment:
- NODE_ENV=development
- NEXT_PUBLIC_API_URL=http://localhost:3001
depends_on:
- backend
networks:
- support-bot-network
image: node:18-alpine
networks:
support-bot-network:
driver: bridge