1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-14 15:53:28 +01:00
pywb/sample-deploy/docker-compose-apache.yaml
Ilya Kreymer 9e09bcd2a7
Docs Update: OpenWayback -> pywb Transition Guide (#588)
* docs work on OpenWayback -> pywb transition, part 1

* docs: add config change examples, exclusions and deploy recommendations

* update with path index example

* update terms with collection info

* docs update:
- add zipnum examples to owb-to-pywb config transition
- add working docker compose examples for nginx subdirectory, apache subdirectory and outback cdx deployment in ./sample-deploy
- update usage and owb-to-pywb deployment docs with updated subdiretory deployment info + sample-deploy links

* tweak exclusion info, deploy title

* add missing filee uwsgi_subdir.ini

* Docs: fix typos and clarifications from review (thanks @ldko!)

Co-authored-by: Lauren Ko <lauren.ko@unt.edu>

* docs: explain that existing cdx can be added to outbackcdx, explain reindexing is optional

* docs: elaborate on docker-compose examples

* minor tweaks

* update to latest wombat 3.0.2
* update CHANGES.rst

* bump version to 2.5.0 for release

Co-authored-by: Lauren Ko <lauren.ko@unt.edu>
2020-12-04 18:40:58 -08:00

35 lines
863 B
YAML

# This example demonstrates running pywb with apache frontend under a subpath /wayback
version: '3'
services:
# main pywb image
pywb:
image: webrecorder/pywb
volumes:
- ../config.yaml:/webarchive/config.yaml
- ../sample_archive/:/webarchive/sample_archive/
- ./uwsgi_subdir.ini:/uwsgi/uwsgi.ini
# optional volume to serve static assets from nginx
- pywb-static:/pywb/pywb/static
apache:
image: httpd
ports:
- 8080:80
volumes:
#- ./nginx-default.conf:/etc/nginx/conf.d/default.conf
- ./httpd.conf:/usr/local/apache2/conf/httpd.conf
- ./pywb-apache.conf:/usr/local/apache2/conf/extra/pywb-apache.conf
# optional volume to serve static assets from nginx
- pywb-static:/pywb/pywb/static
depends_on:
- pywb
volumes:
pywb-static: