-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.development.yml
executable file
·118 lines (105 loc) · 2.12 KB
/
docker-compose.development.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
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
version: "3.3"
services:
website:
build:
context: website/
dockerfile: ./Dockerfile.dev
environment:
- NODE_ENV=development
ports:
- 5000:80
volumes:
- ./website/src/:/app/src
- ./.logs/:/app/logs
session:
build:
context: session/
dockerfile: ./Dockerfile.dev
environment:
- NODE_ENV=development
ports:
- 5001:80
volumes:
- ./session/src/:/app/src
- ./.logs/:/app/logs
model:
build:
context: model/
dockerfile: ./Dockerfile.dev
environment:
- NODE_ENV=development
ports:
- 5002:80
volumes:
- ./model/src/:/app/src
- ./.logs/:/app/logs
account:
build:
context: account/
dockerfile: ./Dockerfile.dev
environment:
- NODE_ENV=development
ports:
- 5004:80
volumes:
- ./account/src/:/app/src
- ./.logs/:/app/logs
generator:
build:
context: generator/
dockerfile: ./Dockerfile.dev
environment:
- NODE_ENV=${NODE_ENV}
ports:
- 5006:80
volumes:
- ./generator/src/:/app/src
- ./.logs/:/app/logs
depends_on:
- "mongo"
- "session"
restart: always
dashboard:
build:
context: dashboard/
dockerfile: ./Dockerfile.dev
environment:
- NODE_ENV=development
volumes:
- ./dashboard/public:/app/public
- ./dashboard/routes:/app/routes
- ./dashboard/views:/app/views
- ./dashboard/service:/app/service
- ./.logs/:/app/logs
api:
build:
context: api/
dockerfile: ./Dockerfile.dev
environment:
- NODE_ENV=development
ports:
- 8080:80
volumes:
- ./api/src/:/app/src
- ./.logs/:/app/logs
mongo:
ports:
- 27017:27017
rabbitmq:
image: rabbitmq:3.8.5-management
ports:
- 15672:15672
# kibana:
# ports:
# - 5601:5601
initialization:
build:
context: initialization/
dockerfile: ./Dockerfile
environment:
- NODE_ENV=development
depends_on:
- "website"
- "account"
- "session"
- "model"