-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.override.yml
93 lines (81 loc) · 1.79 KB
/
docker-compose.override.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
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
version: '3.7'
services:
elk:
networks:
- cp-net
mongodb:
tty: true
ports:
- 27017:27017
volumes:
- mongodata:/data/db
networks:
- cp-net
redis:
networks:
- cp-net
gateway:
tty: true
environment:
- NODE_ENV=development
command: npm start
volumes:
- ./server-gateway/src:/usr/src/app/server-gateway/src
- ./server-gateway/dist:/usr/src/app/server-gateway/dist
networks:
- cp-net
cache:
tty: true
environment:
- NODE_ENV=development
command: npm start
volumes:
- ./server-cache/src:/usr/src/app/server-cache/src
- ./server-cache/dist:/usr/src/app/server-cache/dist
networks:
- cp-net
user:
tty: true
environment:
- NODE_ENV=development
command: npm start
volumes:
- ./server-user/src:/usr/src/app/server-user/src
- ./server-user/dist:/usr/src/app/server-user/dist
networks:
- cp-net
comment:
tty: true
environment:
- NODE_ENV=development
command: npm start
volumes:
- ./server-comment/src:/usr/src/app/server-comment/src
- ./server-comment/dist:/usr/src/app/server-comment/dist
networks:
- cp-net
event:
tty: true
environment:
- NODE_ENV=development
command: npm start
volumes:
- ./server-event/src:/usr/src/app/server-event/src
- ./server-event/dist:/usr/src/app/server-event/dist
networks:
- cp-net
notify:
tty: true
environment:
- NODE_ENV=development
command: npm start
volumes:
- ./server-notify/src:/usr/src/app/server-notify/src
- ./server-notify/dist:/usr/src/app/server-notify/dist
networks:
- cp-net
volumes:
mongodata:
networks:
cp-net:
driver: bridge