1
0
Fork 0

Fix entrypoint

docker-compose requires `$$` for env vars that are supposed to be executed inside the container.
This commit is contained in:
Mike Kusold 2022-04-05 20:58:40 -06:00 committed by GitHub
parent dfef21a814
commit 4febbacef6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,7 +106,7 @@ services:
# pywb: # pywb:
# image: webrecorder/pywb:latest # image: webrecorder/pywb:latest
# entrypoint: /bin/sh '(wb-manager init default || test $? -eq 2) && wb-manager add default /archivebox/archive/*/warc/*.warc.gz; wayback;' # entrypoint: /bin/sh -c '(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: