forked from wdrdres3qew5ts21/MeetU
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-service.yml
55 lines (48 loc) · 1.04 KB
/
docker-compose-service.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
version: '3.3'
services:
configserver:
image: linxianer12/configserver:latest
container_name: configserver
restart: always
environment:
git.username:
git.password: ''
ports:
- 8585:8585
network_mode: "host"
eurekaserver:
depends_on:
- configserver
image: linxianer12/eurekaserver:latest
container_name: eurekaserver
restart: always
ports:
- 8761:8761
network_mode: "host"
apigateway:
depends_on:
- eurekaserver
image: linxianer12/apigateway:latest
container_name: apigateway
restart: always
ports:
- 4000:4000
network_mode: "host"
userservice:
depends_on:
- apigateway
image: linxianer12/userservice:latest
container_name: userservice
restart: always
ports:
- 3001:3001
network_mode: "host"
eventservice:
depends_on:
- apigateway
image: linxianer12/eventservice:latest
container_name: eventservice
restart: always
ports:
- 3002:3002
network_mode: "host"