-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
157 lines (142 loc) · 5.25 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
# This compose file is used by the server script to start a build against a datawell
# Use an extension (v3.4) to set up common configuration
x-info:
common-environment: &common-env
AAA_IP_LIST: 0.0.0.0-255.255.255.255
# AAA_FORS_RIGHTS: http://forsrights.addi.dk/1.2-opensearch/?action=forsRights&outputType=php&userIdAut=%s&groupIdAut=%s&passwordAut=%s&ipAddress=%s
AAA_FORS_RIGHTS: ""
MY_DOMAIN_IP_LIST: 172.16.0.0-172.20.255.255;192.168.0.0-192.168.255.255;10.127.0.0-10.127.255.255
# These settings are used for newer versions of OpenSearch
VIPCORE_ENDPOINT: http://vipcore.iscrum-vip-prod.svc.cloud.dbc.dk/1.0/api/
VIPCORE_CACHE_HOST: localhost
VIPCORE_CACHE_PORT: 11211
# This setting is used for the version 333 and older, and will eventually be retired
AGENCY_END_POINT: http://openagency.addi.dk/2.34/
AGENCY_FALLBACK: 100200
AGENCY_PROFILE_FALLBACK: test
VERBOSE_LEVEL: WARNING+ERROR+FATAL+STAT+TIMER+TRACE+DEBUG
OPEN_FORMAT: http://open-format-broker.cisterne.svc.cloud.dbc.dk/api/v1/format
AAA_IDP_URL: http://idpservice.fbiscrum-prod.svc.cloud.dbc.dk/api/v1/
URL_PATH: ""
SERVICE_LOCATION: ""
CACHE_CONNECT_TIMEOUT: 0.04
CACHE_READ_TIMEOUT: 0.05
cisterne-environment: &cisterne-env
FEDORA: http://corepo-content-service-replica.cisterne.svc.cloud.dbc.dk/rest/
SOLR: http://cisterne.solr.dbc.dk:8983/solr/cisterne-corepo-searcher/select
HOLDINGS_DB: http://holdings-service.cisterne.svc.cloud.dbc.dk/api/getAllAvailability?pid=%s
HOLDINGS_ITEMS_INDEX: cisterne-corepo-searcher
RAW_RECORD_CONTENT_SERVICE: http://rawrepo-record-service.cisterne.svc.cloud.dbc.dk/api/v1/RawRepoContentService
RAW_RECORD_SOLR: http://cisterne.rawrepo.solr.dbc.dk:8983/solr/cisterne-rawrepo-searcher/select
RAW_RECORD_REPOSITORY_NAME: prod-rawrecords
REPOSITORY_NAME: prod
boblebad-environment: &boblebad-env
FEDORA: http://corepo-content-service.boblebad.svc.cloud.dbc.dk/rest/
SOLR: http://boblebad.solr.dbc.dk:8983/solr/boblebad-corepo-searcher/select
HOLDINGS_DB: http://holdings-service.boblebad.svc.cloud.dbc.dk/api/getAllAvailability?pid=%s
HOLDINGS_ITEMS_INDEX: boblebad-corepo-searcher
RAW_RECORD_CONTENT_SERVICE: http://rawrepo-record-service.boblebad.svc.cloud.dbc.dk/api/v1/RawRepoContentService
RAW_RECORD_SOLR: http://boblebad.rawrepo.solr.dbc.dk:8983/solr/boblebad-rawrepo-searcher/select
RAW_RECORD_REPOSITORY_NAME: staging-rawrecords
REPOSITORY_NAME: staging
fbstest-environment: &fbstest-env
FEDORA: http://corepo-content-service.fbstest.svc.cloud.dbc.dk/rest/
SOLR: http://fbstest.solr.dbc.dk:8983/solr/fbstest-corepo-searcher/select
HOLDINGS_DB: holdings-service.fbstest.svc.cloud.dbc.dk/api/getAllAvailability?pid=%s
HOLDINGS_ITEMS_INDEX: fbstest-corepo-searcher
RAW_RECORD_CONTENT_SERVICE: http://rawrepo-record-service.fbstest.svc.cloud.dbc.dk/api/v1/RawRepoContentService
RAW_RECORD_SOLR: http://fbstest.rawrepo.solr.dbc.dk:8983/solr/fbstest-rawrepo-searcher/select
RAW_RECORD_REPOSITORY_NAME: raw_repo_ext_test
REPOSITORY_NAME: external_test
dbckat-cisterne-environment: &dbckat-cisterne-env
RAW_RECORD_REPOSITORY_NAME: rawrepo_basis
RAW_RECORD_SOLR: http://cisterne.rawrepo.solr.dbc.dk:8983/solr/cisterne-basis-searcher/select
REPOSITORY_NAME: prod
anchors:
- &IMAGE opensearch-ws-local/opensearch-webservice${DOCKER_IMAGE_TAG}
ports: &ports
ports:
- 80
- 9117
expose:
- 80
- 9117
version: '3.4'
services:
# A redis service - can be used for testing external memcache
redis:
image: docker-dbc.artifacts.dbccloud.dk/dbc-redis:latest
expose:
- 6379
ports:
- 6379
# The cisterne, boblebad and fbstest setup, uses caches on the local container.
cisterne:
image: *IMAGE
environment:
<<: *common-env
<<: *cisterne-env
<<: *ports
boblebad:
image: *IMAGE
environment:
<<: *common-env
<<: *boblebad-env
<<: *ports
fbstest:
image: *IMAGE
environment:
<<: *common-env
<<: *fbstest-env
<<: *ports
# fbstest with redis
fbstest-redis:
image: *IMAGE
environment:
<<: *common-env
<<: *fbstest-env
CACHE_TYPE: redis
CACHE_HOST: redis
CACHE_PORT: 6379
CACHE_EXPIRE: 600
<<: *ports
fbstest-redis-cluster:
image: *IMAGE
environment:
<<: *common-env
<<: *fbstest-env
CACHE_TYPE: redis
CACHE_HOST: os-opensearch-fbstest-redis-cluster.platform-redis.svc.cloud.dbc.dk
CACHE_PORT: 6379
CACHE_EXPIRE: 600
CACHE_IS_CLUSTER: 1
<<: *ports
# boblebad with redis
boblebad-redis:
image: *IMAGE
environment:
<<: *common-env
<<: *boblebad-env
CACHE_TYPE: redis
CACHE_HOST: redis
CACHE_PORT: 6379
CACHE_EXPIRE: 600
<<: *ports
cisterne-redis-cluster:
image: *IMAGE
environment:
<<: *common-env
<<: *cisterne-env
CACHE_TYPE: redis
CACHE_HOST: os-opensearch-cisterne-redis-cluster.platform-redis.svc.cloud.dbc.dk
CACHE_PORT: 6379
CACHE_EXPIRE: 600
CACHE_IS_CLUSTER: 1
<<: *ports
dbckat-cisterne:
image: *IMAGE
environment:
<<: *common-env
<<: *cisterne-env
<<: *dbckat-cisterne-env
<<: *ports