mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-12 23:47:17 +00: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:
parent
d268513877
commit
dfef21a814
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue