-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcompose.yaml.dist
159 lines (138 loc) · 3.14 KB
/
compose.yaml.dist
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
services:
# External endpoint
haproxy:
build:
context: contexts/haproxy
ports:
- "80:8080"
- "443:8443"
volumes:
- ./volumes/ssl:/usr/local/etc/haproxy/ssl
profiles: ["endpoints"]
# Core application services
accessmgmt: &tomcat-service
build:
context: contexts/accessmgmt
volumes:
- ./volumes/tomcat-env:/tomcat-env
profiles: ["core"]
admincommon:
<<: *tomcat-service
build:
context: contexts/admincommon
appnav:
<<: *tomcat-service
build:
context: contexts/appnav
bcm:
<<: *tomcat-service
build:
context: contexts/bcm
extz:
<<: *tomcat-service
build:
context: contexts/extz
# SSB9
employee:
<<: *tomcat-service
build:
context: contexts/employee
profiles: ["ssb9"]
facss:
<<: *tomcat-service
build:
context: contexts/facss
profiles: ["ssb9"]
financess:
<<: *tomcat-service
build:
context: contexts/financess
profiles: ["ssb9"]
general_ss:
<<: *tomcat-service
build:
context: contexts/general_ss
profiles: ["ssb9"]
geneventss:
<<: *tomcat-service
build:
context: contexts/geneventss
profiles: ["ssb9"]
sss:
<<: *tomcat-service
build:
context: contexts/sss
profiles: ["ssb9"]
sturegss:
<<: *tomcat-service
build:
context: contexts/sturegss
profiles: ["ssb9"]
# API services
eeamc:
<<: *tomcat-service
build:
context: contexts/eeamc
volumes:
- ./volumes/tomcat-env:/tomcat-env
- ./volumes/eeamc-configs/:/configs
profiles: ["apis"]
integrationapi:
<<: *tomcat-service
build:
context: contexts/integrationapi
profiles: ["apis"]
studentapi:
<<: *tomcat-service
build:
context: contexts/studentapi
profiles: ["apis"]
bpapi:
<<: *tomcat-service
build:
context: contexts/bpapi
volumes:
- ./volumes/tomcat-env:/tomcat-env
- ./volumes/admin-api-app-data:/admin-api-app-data:ro
profiles: ["apis"]
# Ethos (besides APIs)
rabbitmq:
image: rabbitmq:3.9
environment:
EMS_HOST: "^EMS_HOST^"
EMS_USER: "^EMS_USER^"
EMS_PASSWORD: "^EMS_PASSWORD^"
volumes:
- ./conf/rabbitmq.conf:/etc/rabbitmq/conf.d/30-hubado.conf:ro
profiles: ["ethos"]
bep:
<<: *tomcat-service
build:
context: contexts/bep
profiles: ["ethos"]
ema:
<<: *tomcat-service
build:
context: contexts/ema
environment:
EMA_CONFIG: ^EMA_KEY^
volumes:
- ./volumes/ema/emsConfig.xml:/usr/local/tomcat/webapps/EllucianMessagingAdapter/WEB-INF/emsConfig.xml:rw
- ./volumes/tomcat-env:/tomcat-env
profiles: ["ethos"]
# Jenkins
jenkins:
build:
context: contexts/jenkins
volumes:
- /mnt/deploy:/deploy
- ./volumes/jenkins/start.sh:/opt/jenkins/start.sh:ro
- ./volumes/jenkins/wgetrc:/home/jenkins/.wgetrc:ro
- ./volumes/jenkins/war:/war
- ./volumes/admin-api-app-data:/admin-api-app-data
profiles: ["jenkins"]
# Scripts
scripts:
build:
context: contexts/scripts
profiles: ["scripts"]