-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
110 lines (99 loc) · 2.13 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
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
version: '2'
services:
eureka-server:
build: eureka-server/
restart: always
network_mode: "host"
hostname: localhost
image: eureka-server
ports:
- 8761:8761
config-service:
build: config-server/
restart: always
network_mode: "host"
image: config-service
hostname: localhost
ports:
- 8888:8888
zuul-api:
build: zuul-api/
depends_on:
- config-service
- eureka-server
restart: always
network_mode: "host"
image: zuul-api
hostname: localhost
ports:
- 8080:8080
userloginservice:
build: user-login-service
restart: always
network_mode: "host"
depends_on:
- mysqldb
ports:
- 8088:8088
reviewservice:
build: review-service
restart: always
network_mode: "host"
depends_on:
- eureka-server
- zuul-api
- config-service
- mysqldb
ports:
- 8089:8089
mysqldb:
image: mysql:5.7
ports:
- 3306:3306
container_name: mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: logindb
MYSQL_PASSWORD: root
MYSQL_USER: root
# MYSQL_ALLOW_EMPTY_PASSWORD: "YES"
volumes:
- $HOME/data/datasql:/var/lib/mysql
network_mode: "host"
hostname: localhost
restart: always
mongodb:
image: mongo:3.4-xenial
restart: always
network_mode: host
volumes:
- ./registration:/data/db
reviewerprofileservice:
build: reviewer-profile-service
restart: always
network_mode: "host"
depends_on:
- mongodb
ports:
- 8087:8087
productownerprofileservice:
build: productOwner-service
restart: always
network_mode: "host"
depends_on:
- mongodb
ports:
- 8060:8060
rabbitmq:
image: rabbitmq:3.7.5-management
hostname: localhost
ports:
- 5672:5672
- 15672:15672
volumes:
- ./data/rabbitmq:/var/lib/rabbitmq/mnesia/rabbit@app-rabbitmq:cached
environment:
RABBITMQ_ERLANG_COOKIE: 6085e2412b6fa88647466c6a81c0cea0
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
RABBITMQ_DEFAULT_VHOST: