-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose-compare-builds-cisterne.yml
91 lines (80 loc) · 3.17 KB
/
docker-compose-compare-builds-cisterne.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
# compose file is used to test two existing docker builds against cisterne.
# It is not parameterised, you must change it to accomodate the test situation you are in.
# The main purpose is to test a "golden" version against a "tested" version, e.g. if you
# suspect a non-intended change in behaviour.
# golden: The container assumed to work correctly
# tested: The container assumed to potentially work incorrectly
# Use an extension (v3.4) to set up common configuration
x-info:
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: ""
# 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
FEDORA: http://corepo-content-service-replica.cisterne.svc.cloud.dbc.dk/rest/
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-content-service.cisterne.svc.cloud.dbc.dk/RawRepoContentService
RAW_RECORD_REPOSITORY_NAME: prod-rawrecords
RAW_RECORD_SOLR: http://cisterne.rawrepo.solr.dbc.dk:8983/solr/cisterne-rawrepo-searcher/select
REPOSITORY_NAME: prod
SERVICE_LOCATION: ""
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
SOLR: http://cisterne.solr.dbc.dk:8983/solr/cisterne-corepo-searcher/select
VERBOSE_LEVEL: WARNING+ERROR+FATAL+STAT+TIMER+TRACE+DEBUG
OPEN_FORMAT: http://open-format-broker.cisterne.svc.cloud.dbc.dk/api/v1/format
URL_PATH: ''
anchors:
- &TESTED docker-de.artifacts.dbccloud.dk/opensearch-webservice-5.2:389
- &GOLDEN docker-de.artifacts.dbccloud.dk/opensearch-webservice-5.2:389
version: '3.4'
services:
# Redis cache is only used for testing against a configuration with a redis cache...
# 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 images under test - both using internal memcaches
golden:
image: *GOLDEN
environment:
<<: *common-env
ports:
- "22222:80"
tested:
image: *TESTED
environment:
<<: *common-env
ports:
- "33333:80"
tested-redis:
image: *TESTED
environment:
<<: *common-env
CACHE_TYPE: redis
CACHE_HOST: redis
CACHE_PORT: 6379
CACHE_EXPIRE: 600
ports:
- "33333:80"
tested-redis-cluster:
image: *TESTED
environment:
<<: *common-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:
- "33333:80"