-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
62 lines (56 loc) · 1.92 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
version: '3.7'
services:
# Web page rendering service, rendering live web pages:
webrender:
build:
context: .
args:
http_proxy: ${HTTP_PROXY}
https_proxy: ${HTTPS_PROXY}
environment: # DOCKER_HOST could be used to run rendering on a dedicated service.
- "LC_ALL=en_US.utf8"
- "HTTP_PROXY=http://warcprox:8000"
- "WARCPROX_PROXY=true"
- "PORT=8010"
- "NODE_ENV=development"
- "PUPPETEER_CLUSTER_SIZE=2"
- "WARC_OUTPUT_PATH=/heritrix/wren"
- "WARC_PREFIX=BL"
- "USER_AGENT_ADDITIONAL=bl.uk_lddc_renderbot/@VERSION@ (+https://www.bl.uk/legal-deposit/web-archiving)"
ports:
- "8010:8010"
volumes:
- "./integration-test/output:/heritrix/wren"
# WARC Proxy, with de-duplication disabled and a rapid rollover:
warcprox:
image: ukwa/warcprox:2.4.17
command: "warcprox -b 0.0.0.0 -d /heritrix/wren --base32 --gzip --rollover-idle-time 600 --dedup-db-file /dev/null --stats-db-file /dev/null --prefix PREFIX-DEFAULT"
#command: "warcprox -b 0.0.0.0 -d /heritrix/wren --base32 --gzip --rollover-idle-time 600 --dedup-db-file /dev/null --stats-db-file /dev/null --prefix PREFIX-DEFAULT --trace"
environment:
- "LC_ALL=en_US.utf8"
- "TMP=/tmp/warcprox"
ports:
- "8000:8000"
volumes:
- "./integration-test/output:/heritrix/wren"
depends_on:
- acidtest
# Robot Integration Tests
robot:
image: ukwa/robot-framework:main
command: "/tests"
environment:
- "PUSH_GATEWAY="
volumes:
- ./integration-test/tests:/tests:ro
- ./integration-test/results:/results:rw
# Local version of the Archival Acid Test: http://acid.matkelly.com
acidtest:
image: ukwa/archival-acid-test:master
ports:
- "5080:80"
networks:
default:
aliases:
- acid.matkelly.com
- www.cs.odu.edu # Emulating the remote host via a simple alias.