-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
58 lines (54 loc) · 1.16 KB
/
docker-compose.yml
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
services:
client:
build:
context: ./client
dockerfile: Dockerfile
ports:
- "8080:8080"
volumes:
- ./packages/client:/app
- /app/node_modules
environment:
- NODE_ENV=development
command: bun run dev
server:
build:
context: ./packages/server
dockerfile: Dockerfile
ports:
- "8081:8081"
- "8082:8082"
volumes:
- ./packages/server:/app
- /app/node_modules
- test-project-volume:/test-project
environment:
- NODE_ENV=development
command: bun run dev
preload:
build:
context: ./packages/preload
dockerfile: Dockerfile
ports:
- "8083:8083"
volumes:
- ./packages/preload:/app
- /app/node_modules
environment:
- NODE_ENV=development
command: bun run server/index.ts
test-project:
build:
context: ./packages/test-project
dockerfile: Dockerfile
ports:
- "3000:3000"
volumes:
- ./packages/test-project:/app
- /app/node_modules
- test-project-volume:/app
environment:
- NODE_ENV=development
command: bun run dev
volumes:
test-project-volume: