-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.prod.yml
109 lines (108 loc) · 1.99 KB
/
docker-compose.prod.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:
config-server:
image: nexus.techolution.com:8123/myp/config-server
networks:
- myp-network
ports:
- "8888:8888"
expose:
- "8888"
eureka:
image: nexus.techolution.com:8123/myp/eureka
networks:
- myp-network
ports:
- "8761:8761"
expose:
- "8761"
auth:
image: nexus.techolution.com:8123/myp/auth-server
networks:
- myp-network
ports:
- "9999:9999"
expose:
- "9999"
# restart: always
links:
- auth-db:auth-db
depends_on:
- auth-db
- eureka
league:
image: nexus.techolution.com:8123/myp/league
networks:
- myp-network
ports:
- "8081:8081"
expose:
- "8081"
# restart: always
links:
- eureka:eureka
- auth:auth
- config-server:config-server
- league-db:league-db
depends_on:
- eureka
- auth
- config-server
- league-db
game:
image: nexus.techolution.com:8123/myp/game
networks:
- myp-network
ports:
- "8082:8082"
expose:
- "8082"
# restart: always
links:
- eureka:eureka
- auth:auth
- config-server:config-server
- game-db:game-db
depends_on:
- eureka
- auth
- config-server
- game-db
admin:
image: nexus.techolution.com:8123/myp/admin
networks:
- myp-network
ports:
- "9000:9000"
expose:
- "9000"
links:
- eureka:eureka
- auth:auth
- config-server:config-server
depends_on:
- eureka
- auth
- config-server
- league
- game
# restart: always
gateway:
image: nexus.techolution.com:8123/myp/gateway
networks:
- myp-network
ports:
- "8080:8080"
expose:
- "8080"
links:
- eureka:eureka
- auth:auth
- config-server:config-server
depends_on:
- eureka
- auth
- config-server
- league
- game
# restart: always