-
Notifications
You must be signed in to change notification settings - Fork 40
/
odm-azuread.yml
executable file
·175 lines (171 loc) · 6.26 KB
/
odm-azuread.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
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
version: '3'
services:
dbserver:
image: $REPOSITORY/dbserver:$ODMVERSION
build:
context: ../
dockerfile: ./${ODMDOCKERDIR}/databases/postgresql/Dockerfile
args:
- ODMDOCKERDIR=$ODMDOCKERDIR
- ODMDBVERSION=$ODMDBVERSION
- ODMVERSION=$ODMVERSION
- CP4BAVERSION=$CP4BAVERSION
- FROMDOCKERBUILD=$FROMDOCKERBUILD
- FROMPOSTGRES=$FROMPOSTGRES
- POSTGRESUID=$POSTGRESUID
user: "$POSTGRESUID:$POSTGRESUID"
ports:
- 5432:5432
environment:
- POSTGRES_USER=odmusr
- POSTGRES_PASSWORD=odmpwd
- POSTGRES_DB=odmdb
- PGDATA=/var/lib/postgresql/data
# - SAMPLE=true
# Uncomment this line to persist your data. Note that on OSX you need to share this
# current directory in the Preference menu -> File Sharing menu.
# volumes:
# - ./pgdata:/pgdata
odm-decisionserverconsole:
image: $REPOSITORY/$PREFIXIMAGE-decisionserverconsole:$ODMVERSION
build:
context: ../
dockerfile: ./${ODMDOCKERDIR}/decisionserver/decisionserverconsole/Dockerfile
args:
- ODMDOCKERDIR=$ODMDOCKERDIR
- ODMVERSION=$ODMVERSION
- CP4BAVERSION=$CP4BAVERSION
- FROMLIBERTY=$FROMLIBERTY
- FROMDOCKERBUILD=$FROMDOCKERBUILD
- FROMLIBERTYBUILD=$FROMLIBERTY
links:
- dbserver
depends_on:
- dbserver
environment:
- ENABLE_TLS=true
- OPENID_MODE=PKCE
- OPENID_CONFIG=true
- OPENID_SERVER_URL=https://#.microsoftonline.com/90df2ccb-9053-40b8-9518-cc8835f62f7f
- OPENID_PROVIDER=azuread
- OPENID_CLIENT_ID=ee3b4617-c283-4a37-bca0-d81569a911f2
- OPENID_ALLOWED_DOMAINS=login.microsoftonline.com
ports:
- 9080:9080
- 1883:1883
- 9843:9443
volumes:
- ${PWD}/azuread/openIdWebSecurity.xml:/config/auth/openIdWebSecurity.xml
- ${PWD}/azuread/openIdParameters.properties:/config/auth/openIdParameters.properties
- ${PWD}/azuread/webSecurity.xml:/config/auth/webSecurity.xml
# - ${PWD}/testprivatecertvolume:/config/security/private-cert-volume
- ${PWD}/testpubliccertvolume:/config/security/trusted-cert-volume
odm-decisionrunner:
image: $REPOSITORY/$PREFIXIMAGE-decisionrunner:$ODMVERSION
build:
context: ../
dockerfile: ./${ODMDOCKERDIR}/decisionserver/decisionrunner/Dockerfile
args:
- ODMDOCKERDIR=$ODMDOCKERDIR
- ODMVERSION=$ODMVERSION
- CP4BAVERSION=$CP4BAVERSION
- FROMLIBERTY=$FROMLIBERTY
- FROMDOCKERBUILD=$FROMDOCKERBUILD
- FROMLIBERTYBUILD=$FROMLIBERTY
links:
- dbserver
- odm-decisionserverconsole
depends_on:
- dbserver
- odm-decisionserverconsole
ports:
- 9070:9080
- 9743:9443
environment:
- ENABLE_TLS=true
- OPENID_CONFIG=true
- OPENID_MODE=PKCE
- OPENID_SERVER_URL=https://#.microsoftonline.com/90df2ccb-9053-40b8-9518-cc8835f62f7f
- OPENID_PROVIDER=azuread
- OPENID_CLIENT_ID=ee3b4617-c283-4a37-bca0-d81569a911f2
- OPENID_ALLOWED_DOMAINS=login.microsoftonline.com
- RES_URL=https://odm-decisionserverconsole:9443/res
volumes:
- ${PWD}/azuread/openIdWebSecurity.xml:/config/auth/openIdWebSecurity.xml
- ${PWD}/azuread/openIdParameters.properties:/config/auth/openIdParameters.properties
- ${PWD}/azuread/webSecurity.xml:/config/auth/webSecurity.xml
- ${PWD}/azuread/AzureADProvider.json:/config/auth/OdmOidcProviders.json
# - ${PWD}/testprivatecertvolume:/config/security/private-cert-volume
- ${PWD}/testpubliccertvolume:/config/security/trusted-cert-volume
odm-decisionserverruntime:
image: $REPOSITORY/$PREFIXIMAGE-decisionserverruntime:$ODMVERSION
build:
context: ../
dockerfile: ./${ODMDOCKERDIR}/decisionserver/decisionserverruntime/Dockerfile
args:
- ODMDOCKERDIR=$ODMDOCKERDIR
- ODMVERSION=$ODMVERSION
- CP4BAVERSION=$CP4BAVERSION
- FROMLIBERTY=$FROMLIBERTY
- FROMLIBERTYBUILD=$FROMLIBERTY
- FROMDOCKERBUILD=$FROMDOCKERBUILD
environment:
- DECISIONSERVERCONSOLE_NAME=odm-decisionserverconsole
- ENABLE_TLS=true
- OPENID_CONFIG=true
- OPENID_MODE=PKCE
- OPENID_SERVER_URL=https://#.microsoftonline.com/90df2ccb-9053-40b8-9518-cc8835f62f7f
- OPENID_PROVIDER=azuread
- OPENID_CLIENT_ID=ee3b4617-c283-4a37-bca0-d81569a911f2
- OPENID_ALLOWED_DOMAINS=login.microsoftonline.com
links:
- dbserver
- odm-decisionserverconsole
depends_on:
- dbserver
- odm-decisionserverconsole
ports:
- 9090:9080
- 9943:9443
volumes:
- ${PWD}/azuread/openIdWebSecurity.xml:/config/auth/openIdWebSecurity.xml
- ${PWD}/azuread/openIdParameters.properties:/config/auth/openIdParameters.properties
- ${PWD}/azuread/webSecurity.xml:/config/auth/webSecurity.xml
- ${PWD}/azuread/AzureADProvider.json:/config/auth/OdmOidcProviders.json
# - ${PWD}/testprivatecertvolume:/config/security/private-cert-volume
- ${PWD}/testpubliccertvolume:/config/security/trusted-cert-volume
odm-decisioncenter:
image: $REPOSITORY/$PREFIXIMAGE-decisioncenter:$ODMVERSION
build:
context: ../
dockerfile: ./${ODMDOCKERDIR}/decisioncenter/Dockerfile
args:
- ODMDOCKERDIR=$ODMDOCKERDIR
- ODMVERSION=$ODMVERSION
- CP4BAVERSION=$CP4BAVERSION
- FROMLIBERTY=$FROMLIBERTY
- FROMDOCKERBUILD=$FROMDOCKERBUILD
- FROMLIBERTYBUILD=$FROMLIBERTY
links:
- dbserver
depends_on:
- dbserver
environment:
- JVM_ARGS="-Xmx14000m"
- ENABLE_TLS=true
- OPENID_CONFIG=true
- OPENID_MODE=PKCE
- OPENID_SERVER_URL=https://#.microsoftonline.com/90df2ccb-9053-40b8-9518-cc8835f62f7f
- OPENID_PROVIDER=azuread
- OPENID_CLIENT_ID=ee3b4617-c283-4a37-bca0-d81569a911f2
- OPENID_ALLOWED_DOMAINS=login.microsoftonline.com
ports:
- 9060:9060
- 9643:9453
volumes:
- ${PWD}/azuread/openIdWebSecurity.xml:/config/auth/openIdWebSecurity.xml
- ${PWD}/azuread/openIdParameters.properties:/config/auth/openIdParameters.properties
- ${PWD}/azuread/webSecurity.xml:/config/auth/webSecurity.xml
- ${PWD}/azuread/AzureADProvider.json:/config/auth/OdmOidcProviders.json
# - ${PWD}/testprivatecertvolume:/config/security/private-cert-volume
- ${PWD}/testpubliccertvolume:/config/security/trusted-cert-volume