add CUSTOM_TEMPLATES=/data/templates default config in Docker

This commit is contained in:
Nick Sweeting 2024-02-08 05:54:18 -08:00
parent 6faf7aab24
commit b56bfe57f1
2 changed files with 6 additions and 5 deletions

View file

@ -266,7 +266,8 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=apt-$TARGETARCH$T
# Setup ArchiveBox runtime config
WORKDIR "$DATA_DIR"
ENV IN_DOCKER=True
ENV IN_DOCKER=True \
CUSTOM_TEMPLATES_DIR=/data/templates \
## No need to set explicitly, these values will be autodetected by archivebox in docker:
# CHROME_SANDBOX=False \
# WGET_BINARY="wget" \

View file

@ -73,10 +73,10 @@ INSTALLED_APPS = [
'plugins.defaults',
'plugins.system',
# 'plugins.replaywebpage',
# 'plugins.gallerydl',
# 'plugins.browsertrix',
# 'plugins.playwright',
# 'plugins.replaywebpage', # provides UI to view WARC files
# 'plugins.gallerydl', # provides gallerydl dependency + extractor
# 'plugins.browsertrix', # provides browsertrix dependency + extractor
# 'plugins.playwright', # provides playwright dependency
# ...
# someday we may have enough plugins to justify dynamic loading:
# *(path.parent.name for path in (Path(PACKAGE_DIR) / 'plugins').glob('*/apps.py')),,