mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 14:44:29 -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
|
# Setup ArchiveBox runtime config
|
||||||
WORKDIR "$DATA_DIR"
|
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:
|
## No need to set explicitly, these values will be autodetected by archivebox in docker:
|
||||||
# CHROME_SANDBOX=False \
|
# CHROME_SANDBOX=False \
|
||||||
# WGET_BINARY="wget" \
|
# WGET_BINARY="wget" \
|
||||||
|
|
|
@ -73,10 +73,10 @@ INSTALLED_APPS = [
|
||||||
|
|
||||||
'plugins.defaults',
|
'plugins.defaults',
|
||||||
'plugins.system',
|
'plugins.system',
|
||||||
# 'plugins.replaywebpage',
|
# 'plugins.replaywebpage', # provides UI to view WARC files
|
||||||
# 'plugins.gallerydl',
|
# 'plugins.gallerydl', # provides gallerydl dependency + extractor
|
||||||
# 'plugins.browsertrix',
|
# 'plugins.browsertrix', # provides browsertrix dependency + extractor
|
||||||
# 'plugins.playwright',
|
# 'plugins.playwright', # provides playwright dependency
|
||||||
# ...
|
# ...
|
||||||
# someday we may have enough plugins to justify dynamic loading:
|
# someday we may have enough plugins to justify dynamic loading:
|
||||||
# *(path.parent.name for path in (Path(PACKAGE_DIR) / 'plugins').glob('*/apps.py')),,
|
# *(path.parent.name for path in (Path(PACKAGE_DIR) / 'plugins').glob('*/apps.py')),,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue