-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
189 lines (169 loc) · 6.06 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
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
# On-Site Version 4.0
version: "3.6"
x-labels: &k8s-labels
kompose.image-pull-secret: pullsecret
services:
csd-platform:
image: ccdcrepository.azurecr.io/onsite/ccdc-web-platform:4.0.0
restart: unless-stopped
ports:
- ${PLATFORM_PORT}:8443
labels:
<<: *k8s-labels
kompose.service.type: LoadBalancer
kompose.service.expose: "true"
depends_on:
- ccdc-identity
- webcsd
- csd-python-gateway
csd-python-gateway:
environment:
- PlatformSecurity__DisableSSLValidation=true
- PlatformSecurity__Issuer=${PUBLIC_URI}
- CCDC_LICENSING_CONFIGURATION=${CCDC_LICENSING_CONFIGURATION}
image: ccdcrepository.azurecr.io/onsite/ccdc-python-gateway:4.0.0
restart: unless-stopped
ccdc-identity:
image: ccdcrepository.azurecr.io/onsite/ccdc-identitygateway:4.0.0
environment:
- "ConnectionStrings__DefaultConnection=${IDENTITY_DB_CONNECTIONSTRING}"
- "PlatformClientSettings__RedirectUris__0=${PUBLIC_URI}/authentication/login-callback"
- "PlatformClientSettings__PostLogoutRedirectUris__0=${PUBLIC_URI}/authentication/logout-callback"
- "WebCsdClientSettings__RedirectUris__0=${PUBLIC_URI}/structures/signin-oidc"
- "WebCsdClientSettings__PostLogoutRedirectUris__0=${PUBLIC_URI}/structures/signout-oidc"
# Will be removed in 4.0.1+
- "PlatformClientSettings__RedirectUri=${PUBLIC_URI}/authentication/login-callback"
- "PlatformClientSettings__PostLogoutRedirectUri=${PUBLIC_URI}/authentication/logout-callback"
- "WebCsdClientSettings__RedirectUri=${PUBLIC_URI}/structures/signin-oidc"
- "WebCsdClientSettings__PostLogoutRedirectUri=${PUBLIC_URI}/structures/signout-oidc"
depends_on:
- webcsdbackend
restart: unless-stopped
webcsd:
environment:
- IdentityGateway__Authority=${PUBLIC_URI}
- IdentityGateway__DisableSSLValidation=true
depends_on:
- ccdc-csd-searchservice
- csd-request-entry
image: ccdcrepository.azurecr.io/onsite/webcsd:4.0.0
volumes:
- ./userdata:/app/OnSite
labels:
<<: *k8s-labels
restart: unless-stopped
webcsdbackend:
depends_on:
- ccdc-csd-searchservice
- csd-request-entry
image: ccdcrepository.azurecr.io/onsite/webcsdbackend:4.0.0
environment:
- CCDC_LICENSING_CONFIGURATION=${CCDC_LICENSING_CONFIGURATION}
labels:
<<: *k8s-labels
restart: unless-stopped
ccdc-csd-substructuresearch:
labels:
<<: *k8s-labels
image: ccdcrepository.azurecr.io/onsite/ccdc-csd-substructuresearch-api:4.0.0
depends_on:
- ccdc-csd-resultstore
- ccdc-csd-substructure-filter
- ccdc-csd-fingerprint
- ccdc-csd-deposition
environment:
- StructureSearchReadConnection=${CSD_DB_CONNECTIONSTRING};SearchPath=substructure
restart: unless-stopped
ccdc-csd-deposition:
labels:
<<: *k8s-labels
image: ccdcrepository.azurecr.io/onsite/ccdc-csd-deposition-api:4.0.0
environment:
- CsdDepositionReadConnection=${CSD_DB_CONNECTIONSTRING};SearchPath=csd_schema
restart: unless-stopped
ccdc-csd-textnumericsearch:
labels:
<<: *k8s-labels
image: ccdcrepository.azurecr.io/onsite/ccdc-csd-textnumericsearch-api:4.0.0
environment:
- CsdReadConnection=${CSD_DB_CONNECTIONSTRING};SearchPath=csd_schema
restart: unless-stopped
ccdc-csd-searchservice:
labels:
<<: *k8s-labels
depends_on:
- ccdc-csd-textnumericsearch
- ccdc-csd-substructuresearch
- ccdc-csd-resultstore
- ccdc-csd-similaritysearch
image: ccdcrepository.azurecr.io/onsite/ccdc-csd-searchservice-api:4.0.0
environment:
- SearchProgressEndpoint=api/{0}/internal-progress
restart: unless-stopped
csd-request-entry:
labels:
<<: *k8s-labels
depends_on:
- ccdc-csd-deposition
- ccdc-csd-crystal-structure-export
image: ccdcrepository.azurecr.io/onsite/csd-request-entry-api:4.0.0
restart: unless-stopped
ccdc-csd-formulasearch:
labels:
<<: *k8s-labels
image: ccdcrepository.azurecr.io/onsite/ccdc-csd-formulasearch-api:4.0.0
environment:
- FormulaSearchReadConnection=${CSD_DB_CONNECTIONSTRING};SearchPath=formula
restart: unless-stopped
ccdc-csd-unitcellsearch:
labels:
<<: *k8s-labels
depends_on:
- ccdc-csd-reducedcell-calculation-service
image: ccdcrepository.azurecr.io/onsite/ccdc-csd-unit-cell-search:4.0.0
environment:
- UnitCellSearchReadConnection=${CSD_DB_CONNECTIONSTRING};SearchPath=unitcell
restart: unless-stopped
ccdc-csd-resultstore:
labels:
<<: *k8s-labels
image: ccdcrepository.azurecr.io/onsite/ccdc-csd-resultstore-api:4.0.0
environment:
- ResultStoreConnectionString=${CSD_DB_CONNECTIONSTRING};SearchPath=searchstore
restart: unless-stopped
ccdc-csd-similaritysearch:
labels:
<<: *k8s-labels
depends_on:
- ccdc-csd-fingerprint
image: ccdcrepository.azurecr.io/onsite/ccdc-csd-structure-similarity-search:4.0.0
environment:
- StructureSimilaritySearchReadConnection=${CSD_DB_CONNECTIONSTRING};SearchPath=similarity
restart: unless-stopped
ccdc-csd-fingerprint:
labels:
<<: *k8s-labels
image: ccdcrepository.azurecr.io/onsite/ccdc-csd-fingerprint-service:4.0.0
restart: unless-stopped
ccdc-csd-substructure-filter:
labels:
<<: *k8s-labels
image: ccdcrepository.azurecr.io/onsite/ccdc-csd-substructure-filter-service:4.0.0
restart: unless-stopped
ccdc-csd-crystal-structure-export:
labels:
<<: *k8s-labels
image: ccdcrepository.azurecr.io/onsite/ccdc-csd-crystal-structure-export-service:4.0.0
restart: unless-stopped
ccdc-csd-reducedcell-calculation-service:
labels:
<<: *k8s-labels
image: ccdcrepository.azurecr.io/onsite/ccdc-csd-reducedcell-calculation-service:4.0.0
restart: unless-stopped
webcsd-theory:
labels:
<<: *k8s-labels
image: ccdcrepository.azurecr.io/onsite/csd-theory:4.0.0
environment:
- CCDC_LICENSING_CONFIGURATION=${CCDC_LICENSING_CONFIGURATION}
restart: unless-stopped