-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
144 lines (130 loc) · 2.79 KB
/
docker-compose.yml
File metadata and controls
144 lines (130 loc) · 2.79 KB
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
include:
- common/docker/core.yml
services:
# Fontend Services
playwright:
extends:
file: common/docker/playwright.yml
service: playwright
depends_on:
apache:
condition: service_healthy
profiles:
- playwright_testing
playwright_reports:
extends:
file: common/docker/playwright.yml
service: playwright
command: "npx playwright show-report --host 0.0.0.0"
ports:
- 9323:9323
profiles:
- playwright_testing
firebird:
extends:
file: common/docker/node.yml
service: firebird
profiles:
- frontend
page-turner:
extends:
file: common/docker/node.yml
service: page-turner
profiles:
- frontend
# Backend Services
apache:
extends:
file: common/docker/apache.yml
service: apache
depends_on:
mysql-sdr:
condition: service_healthy
solr-sdr-catalog:
condition: service_healthy
imgsrv:
condition: service_healthy
ports:
- "8080:8080"
profiles:
- backend
- playwright_testing
perl-test:
extends:
file: common/docker/perl.yml
service: perl
command: "prove -r imgsrv/t ls/t mdp-lib/t"
profiles:
- testing
perl-dev:
extends:
file: common/docker/perl.yml
service: perl
# This environment is provided by perl.yml so should not be needed here
environment:
- SDRROOT=/htapps/babel
- SDRDATAROOT=/sdr1
command: "/bin/bash"
profiles:
- backend
# Optional dependencies; not included in current playwright testing
vufind:
extends:
file: common/docker/catalog.yml
service: vufind
profiles:
- backend
composer:
build: catalog
volumes:
- ${BABEL_HOME}/catalog:/app
working_dir: /app
command: composer install
solr-lss-dev:
extends:
file: common/docker/solr.yml
service: solr-lss-dev
profiles:
- backend
solr-ptsearch:
extends:
file: common/docker/solr.yml
service: solr-ptsearch
profiles:
- backend
# Indexing
traject:
extends:
file: common/docker/stage-item.yml
service: traject
depends_on:
solr-sdr-catalog:
condition: service_healthy
profiles:
- indexing
- stage_item
stage-item:
extends:
file: common/docker/stage-item.yml
service: stage-item
depends_on:
mysql-sdr:
condition: service_healthy
profiles:
- stage_item
slip:
extends:
file: common/docker/stage-item.yml
service: slip
depends_on:
mysql-sdr:
condition: service_healthy
solr-sdr-catalog:
condition: service_healthy
solr-lss-dev:
condition: service_healthy
profiles:
- indexing
- stage_item
volumes:
gem_cache: