mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-24 15:13:03 +02:00
Update pywb entrypoint
wb-manager first needs you to init the collection. If you attempt to init a collection that already exists, it exits with a `2`. Also, `wayback --proxy` requires an argument, so I remove the proxy argument.
This commit is contained in:
@@ -106,7 +106,7 @@ services:
|
|||||||
|
|
||||||
# pywb:
|
# pywb:
|
||||||
# image: webrecorder/pywb:latest
|
# image: webrecorder/pywb:latest
|
||||||
# entrypoint: /bin/sh 'wb-manager add default /archivebox/archive/*/warc/*.warc.gz; wayback --proxy;'
|
# entrypoint: /bin/sh '(wb-manager init default || test $? -eq 2) && wb-manager add default /archivebox/archive/*/warc/*.warc.gz; wayback;'
|
||||||
# environment:
|
# environment:
|
||||||
# - INIT_COLLECTION=archivebox
|
# - INIT_COLLECTION=archivebox
|
||||||
# ports:
|
# ports:
|
||||||
|
Reference in New Issue
Block a user