mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
add CUSTOM_TEMPLATES=/data/templates default config in Docker
This commit is contained in:
parent
6faf7aab24
commit
b56bfe57f1
2 changed files with 6 additions and 5 deletions
|
@ -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" \
|
||||
|
|
|
@ -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')),,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue