@@ -3,33 +3,30 @@ version: "3.6"
3
3
services :
4
4
webcsd :
5
5
environment :
6
- - CsdRepository__SearchServiceLocation=http://ccdc-csd-searchservice:8080/
7
- - CsdRepository__PagedResultLocation=http://ccdc-csd-searchservice:8080/
8
- - CsdRepository__RequestEntriesServiceLocation=http://csd-request-entry:8080/
9
- - CsdRepository__ChemicalDiagramImageLocation=http://csd-request-entry:8080/
10
- - CsdRepository__ChemicalStructureMol2Location=http://csd-request-entry:8080/
11
- - CsdRepository__AtomEquivalencesLocation=http://csd-request-entry:8080/
12
- - CsdRepository__FormulaSearchServiceLocation=http://ccdc-csd-searchservice:8080/
13
- - CsdRepository__StructureSimilaritySearchServiceLocation=http://ccdc-csd-searchservice:8080/
14
- - CsdRepository__UnitCellSearchLocation=http://ccdc-csd-searchservice:8080/
15
- - CsdRepository__ServiceLocation=webcsdbackend:8080
16
- - ASPNETCORE_URLS=http://+:8080
17
- - CspRepository__ServiceLocation=webcsd-theory:8080
18
-
19
- ports :
20
- - 8080:8080
21
- expose :
22
- - 8080
6
+ - CsdRepository__SearchServiceLocation=http://ccdc-csd-searchservice:${WEBCSD_PORT}/
7
+ - CsdRepository__PagedResultLocation=http://ccdc-csd-searchservice:${WEBCSD_PORT}/
8
+ - CsdRepository__RequestEntriesServiceLocation=http://csd-request-entry:${WEBCSD_PORT}/
9
+ - CsdRepository__ChemicalDiagramImageLocation=http://csd-request-entry:${WEBCSD_PORT}/
10
+ - CsdRepository__ChemicalStructureMol2Location=http://csd-request-entry:${WEBCSD_PORT}/
11
+ - CsdRepository__AtomEquivalencesLocation=http://csd-request-entry:${WEBCSD_PORT}/
12
+ - CsdRepository__FormulaSearchServiceLocation=http://ccdc-csd-searchservice:${WEBCSD_PORT}/
13
+ - CsdRepository__StructureSimilaritySearchServiceLocation=http://ccdc-csd-searchservice:${WEBCSD_PORT}/
14
+ - CsdRepository__UnitCellSearchLocation=http://ccdc-csd-searchservice:${WEBCSD_PORT}/
15
+ - CsdRepository__ServiceLocation=webcsdbackend:${WEBCSD_PORT}
16
+ - ASPNETCORE_URLS=http://+:${WEBCSD_PORT}
17
+ - CspRepository__ServiceLocation=webcsd-theory:${WEBCSD_PORT}
18
+ expose :
19
+ - ${WEBCSD_PORT}
23
20
healthcheck :
24
- test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:8080 /health/ready"
21
+ test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:${WEBCSD_PORT} /health/ready"
25
22
26
23
webcsdbackend :
27
24
environment :
28
- - ASPNETCORE_URLS=http://+:8080
25
+ - ASPNETCORE_URLS=http://+:${WEBCSD_PORT}
29
26
expose :
30
- - 8080
27
+ - ${WEBCSD_PORT}
31
28
healthcheck :
32
- test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:8080 /health/ready"
29
+ test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:${WEBCSD_PORT} /health/ready"
33
30
34
31
redis :
35
32
expose :
@@ -41,128 +38,128 @@ services:
41
38
42
39
ccdc-csd-substructuresearch :
43
40
environment :
44
- - FingerprintCalculationService=http://ccdc-csd-fingerprint:8080
45
- - ResultsStoreService=http://ccdc-csd-resultstore:8080
46
- - DepositionService=http://ccdc-csd-deposition:8080
47
- - SubstructureFilterService=http://ccdc-csd-substructure-filter:8080
48
- - ASPNETCORE_URLS=http://+:8080
41
+ - FingerprintCalculationService=http://ccdc-csd-fingerprint:${WEBCSD_PORT}
42
+ - ResultsStoreService=http://ccdc-csd-resultstore:${WEBCSD_PORT}
43
+ - DepositionService=http://ccdc-csd-deposition:${WEBCSD_PORT}
44
+ - SubstructureFilterService=http://ccdc-csd-substructure-filter:${WEBCSD_PORT}
45
+ - ASPNETCORE_URLS=http://+:${WEBCSD_PORT}
49
46
expose :
50
- - 8080
47
+ - ${WEBCSD_PORT}
51
48
healthcheck :
52
- test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:8080 /health/ready"
49
+ test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:${WEBCSD_PORT} /health/ready"
53
50
54
51
ccdc-csd-deposition :
55
52
environment :
56
- - ASPNETCORE_URLS=http://+:8080
53
+ - ASPNETCORE_URLS=http://+:${WEBCSD_PORT}
57
54
expose :
58
- - 8080
55
+ - ${WEBCSD_PORT}
59
56
healthcheck :
60
- test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:8080 /health/ready"
57
+ test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:${WEBCSD_PORT} /health/ready"
61
58
62
59
63
60
ccdc-csd-textnumericsearch :
64
61
environment :
65
- - ASPNETCORE_URLS=http://+:8080
62
+ - ASPNETCORE_URLS=http://+:${WEBCSD_PORT}
66
63
expose :
67
- - 8080
64
+ - ${WEBCSD_PORT}
68
65
healthcheck :
69
- test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:8080 /health/ready"
66
+ test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:${WEBCSD_PORT} /health/ready"
70
67
71
68
ccdc-csd-searchservice :
72
69
environment :
73
- - TextNumericSearchService=http://ccdc-csd-textnumericsearch:8080 /
74
- - SubstructureSearchService=http://ccdc-csd-substructuresearch:8080 /
75
- - QueryIdGeneratorService=http://ccdc-csd-resultstore:8080 /
76
- - PagedResultsService=http://ccdc-csd-resultstore:8080 /
77
- - FormulaSearchService=http://ccdc-csd-formulasearch:8080 /
78
- - StructureSimilaritySearchService=http://ccdc-csd-similaritysearch:8080 /
79
- - UnitCellSearchService=http://ccdc-csd-unitcellsearch:8080 /
80
- - ASPNETCORE_URLS=http://+:8080
81
- expose :
82
- - 8080
70
+ - TextNumericSearchService=http://ccdc-csd-textnumericsearch:${WEBCSD_PORT} /
71
+ - SubstructureSearchService=http://ccdc-csd-substructuresearch:${WEBCSD_PORT} /
72
+ - QueryIdGeneratorService=http://ccdc-csd-resultstore:${WEBCSD_PORT} /
73
+ - PagedResultsService=http://ccdc-csd-resultstore:${WEBCSD_PORT} /
74
+ - FormulaSearchService=http://ccdc-csd-formulasearch:${WEBCSD_PORT} /
75
+ - StructureSimilaritySearchService=http://ccdc-csd-similaritysearch:${WEBCSD_PORT} /
76
+ - UnitCellSearchService=http://ccdc-csd-unitcellsearch:${WEBCSD_PORT} /
77
+ - ASPNETCORE_URLS=http://+:${WEBCSD_PORT}
78
+ expose :
79
+ - ${WEBCSD_PORT}
83
80
healthcheck :
84
- test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:8080 /health/ready"
81
+ test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:${WEBCSD_PORT} /health/ready"
85
82
86
83
csd-request-entry :
87
84
environment :
88
- - CrystalStructureExportService=http://ccdc-csd-crystal-structure-export:8080
89
- - DepositionService=http://ccdc-csd-deposition:8080
90
- - ASPNETCORE_URLS=http://+:8080
85
+ - CrystalStructureExportService=http://ccdc-csd-crystal-structure-export:${WEBCSD_PORT}
86
+ - DepositionService=http://ccdc-csd-deposition:${WEBCSD_PORT}
87
+ - ASPNETCORE_URLS=http://+:${WEBCSD_PORT}
91
88
expose :
92
- - 8080
89
+ - ${WEBCSD_PORT}
93
90
healthcheck :
94
- test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:8080 /health/ready"
91
+ test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:${WEBCSD_PORT} /health/ready"
95
92
96
93
ccdc-csd-formulasearch :
97
94
environment :
98
- - ASPNETCORE_URLS=http://+:8080
95
+ - ASPNETCORE_URLS=http://+:${WEBCSD_PORT}
99
96
expose :
100
- - 8080
97
+ - ${WEBCSD_PORT}
101
98
healthcheck :
102
- test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:8080 /health/ready"
99
+ test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:${WEBCSD_PORT} /health/ready"
103
100
104
101
ccdc-csd-unitcellsearch :
105
102
environment :
106
- - UnitCellNiggliReducedCellCalculationService=http://ccdc-csd-reducedcell-calculation-service:8080
107
- - UnitCellReducedCellCalculationService=http://ccdc-csd-reducedcell-calculation-service:8080
108
- - ASPNETCORE_URLS=http://+:8080
103
+ - UnitCellNiggliReducedCellCalculationService=http://ccdc-csd-reducedcell-calculation-service:${WEBCSD_PORT}
104
+ - UnitCellReducedCellCalculationService=http://ccdc-csd-reducedcell-calculation-service:${WEBCSD_PORT}
105
+ - ASPNETCORE_URLS=http://+:${WEBCSD_PORT}
109
106
expose :
110
- - 8080
107
+ - ${WEBCSD_PORT}
111
108
healthcheck :
112
- test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:8080 /health/ready"
109
+ test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:${WEBCSD_PORT} /health/ready"
113
110
114
111
ccdc-csd-resultstore :
115
112
environment :
116
- - ASPNETCORE_URLS=http://+:8080
113
+ - ASPNETCORE_URLS=http://+:${WEBCSD_PORT}
117
114
expose :
118
- - 8080
115
+ - ${WEBCSD_PORT}
119
116
healthcheck :
120
- test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:8080 /health/ready"
117
+ test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:${WEBCSD_PORT} /health/ready"
121
118
122
119
ccdc-csd-similaritysearch :
123
120
environment :
124
- - FingerprintChemicalDiagramCalculationService=http://ccdc-csd-fingerprint:8080
125
- - ASPNETCORE_URLS=http://+:8080
121
+ - FingerprintChemicalDiagramCalculationService=http://ccdc-csd-fingerprint:${WEBCSD_PORT}
122
+ - ASPNETCORE_URLS=http://+:${WEBCSD_PORT}
126
123
expose :
127
- - 8080
124
+ - ${WEBCSD_PORT}
128
125
healthcheck :
129
- test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:8080 /health/ready"
126
+ test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:${WEBCSD_PORT} /health/ready"
130
127
131
128
ccdc-csd-substructure-filter :
132
129
environment :
133
- - CCDC_SERVICE_PORT=8080
130
+ - CCDC_SERVICE_PORT=${WEBCSD_PORT}
134
131
expose :
135
- - 8080
132
+ - ${WEBCSD_PORT}
136
133
healthcheck :
137
- test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:8080 /health/ready"
134
+ test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:${WEBCSD_PORT} /health/ready"
138
135
139
136
ccdc-csd-crystal-structure-export :
140
137
environment :
141
- - CCDC_SERVICE_PORT=8080
138
+ - CCDC_SERVICE_PORT=${WEBCSD_PORT}
142
139
expose :
143
- - 8080
140
+ - ${WEBCSD_PORT}
144
141
healthcheck :
145
- test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:8080 /health/ready"
142
+ test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:${WEBCSD_PORT} /health/ready"
146
143
147
144
ccdc-csd-reducedcell-calculation-service :
148
145
environment :
149
- - CCDC_SERVICE_PORT=8080
146
+ - CCDC_SERVICE_PORT=${WEBCSD_PORT}
150
147
expose :
151
- - 8080
148
+ - ${WEBCSD_PORT}
152
149
healthcheck :
153
- test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:8080 /health/ready"
150
+ test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:${WEBCSD_PORT} /health/ready"
154
151
155
152
ccdc-csd-fingerprint :
156
153
environment :
157
- - CCDC_SERVICE_PORT=8080
154
+ - CCDC_SERVICE_PORT=${WEBCSD_PORT}
158
155
expose :
159
- - 8080
156
+ - ${WEBCSD_PORT}
160
157
healthcheck :
161
- test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:8080 /health/ready"
158
+ test : " curl --fail --silent --show-error --connect-timeout 5 --max-time 5 http://localhost:${WEBCSD_PORT} /health/ready"
162
159
163
160
webcsd-theory :
164
161
environment :
165
- - ASPNETCORE_URLS=http://+:8080
166
- - ReportSettings__CspServerUrl=localhost:8080
162
+ - ReportSettings__CspServerUrl=localhost:${WEBCSD_PORT}
163
+ - ASPNETCORE_URLS=http://+:${WEBCSD_PORT}
167
164
expose :
168
- - 8080
165
+ - ${WEBCSD_PORT}
0 commit comments