pywb config overlay for the Australian Web Archive
podman build -t nla-pywb .To run the container manually, you must provide the CDX_URL and WARC_URL environment variables.
podman run -p 8080:8080 \
-e CDX_URL="http://pandas.nla.gov.au/cdx/trove" \
-e WARC_URL="http://pandas.nla.gov.au/bamboo/warcs/" \
nla-pywbJenkins builds the image for every branch (see Jenkinsfile).
- master: pushes
container-registry.prod.nla.gov.au/nla/pywb:master-<commit>and deploys it to devel by updatingversionin.gitops/pandas-pywb-{public,qa}/devel/values.yamlon the nla/argocd talos branch. - tags: pushes
container-registry.prod.nla.gov.au/nla/pywb:<tag>(e.g.2.10.0-nla1). To deploy to test or prod, updateversionin.gitops/pandas-pywb-*/{test,prod}/values.yamlon the talos branch by hand.
PORT=8080
REPO=git@github.com:nla/nla-pywb.git
CONTAINER=none
APP_OPTS=
CDX_URL=http://cdx-server/coll
WARC_URL=http://warc-server/warcs/
[systemd.service.Service]
WorkingDirectory = /apps/pywb/awa
ExecStart = /usr/bin/logduct-run /apps/pywb/bin/pywb --port ${PORT}
Currently multiple access points are configured by deploying a separate instance of Pywb for each with a different CDX_URL configured.