Skip to content

Latest commit

 

History

117 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nla-pywb

pywb config overlay for the Australian Web Archive

Container Usage

Build

podman build -t nla-pywb .

Run

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-pywb

Deploy to NLA kubernetes environment

Jenkins 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 updating version in .gitops/pandas-pywb-{public,qa}/devel/values.yaml on 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, update version in .gitops/pandas-pywb-*/{test,prod}/values.yaml on the talos branch by hand.

jvmctl config

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}

Multiple access points

Currently multiple access points are configured by deploying a separate instance of Pywb for each with a different CDX_URL configured.

About

pywb config overlay for the Australian Web Archive

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages