-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (47 loc) · 1016 Bytes
/
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
version: "3"
services:
server:
container_name: c12y_server
build:
context: ./server
dockerfile: Dockerfile
image: c12y/server
ports:
- "8080:8080"
volumes:
- ./server:/usr/src/server
- /usr/src/server/node_modules
environment:
- CHOKIDAR_USEPOLLING=true
client:
container_name: c12y_client
build:
context: ./client
dockerfile: Dockerfile
image: c12y/client
ports:
- "3000:3000"
volumes:
- ./client:/usr/src/client
- /usr/src/client/node_modules
- /usr/src/client/build
environment:
- CHOKIDAR_USEPOLLING=true
depends_on:
- server
admin:
container_name: c12y_admin
build:
context: ./admin
dockerfile: Dockerfile
image: c12y/admin
ports:
- "4000:4000"
volumes:
- ./admin:/usr/src/admin
- /usr/src/admin/node_modules
- /usr/src/admin/build
environment:
- CHOKIDAR_USEPOLLING=true
depends_on:
- server