mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
ignore shm db file and config files in archivebox data dir on init
This commit is contained in:
parent
3c3bae02d2
commit
00ae1f15a7
2 changed files with 6 additions and 1 deletions
|
@ -76,6 +76,7 @@ from .config import (
|
||||||
ARCHIVE_DIR,
|
ARCHIVE_DIR,
|
||||||
LOGS_DIR,
|
LOGS_DIR,
|
||||||
CONFIG_FILE,
|
CONFIG_FILE,
|
||||||
|
CONFIG_FILENAME,
|
||||||
ARCHIVE_DIR_NAME,
|
ARCHIVE_DIR_NAME,
|
||||||
SOURCES_DIR_NAME,
|
SOURCES_DIR_NAME,
|
||||||
LOGS_DIR_NAME,
|
LOGS_DIR_NAME,
|
||||||
|
@ -131,10 +132,13 @@ ALLOWED_IN_OUTPUT_DIR = {
|
||||||
LOGS_DIR_NAME,
|
LOGS_DIR_NAME,
|
||||||
SQL_INDEX_FILENAME,
|
SQL_INDEX_FILENAME,
|
||||||
f'{SQL_INDEX_FILENAME}-wal',
|
f'{SQL_INDEX_FILENAME}-wal',
|
||||||
|
f'{SQL_INDEX_FILENAME}-shm',
|
||||||
JSON_INDEX_FILENAME,
|
JSON_INDEX_FILENAME,
|
||||||
HTML_INDEX_FILENAME,
|
HTML_INDEX_FILENAME,
|
||||||
ROBOTS_TXT_FILENAME,
|
ROBOTS_TXT_FILENAME,
|
||||||
FAVICON_FILENAME,
|
FAVICON_FILENAME,
|
||||||
|
CONFIG_FILENAME,
|
||||||
|
f'{CONFIG_FILENAME}.bak',
|
||||||
}
|
}
|
||||||
|
|
||||||
@enforce_types
|
@enforce_types
|
||||||
|
|
|
@ -21,11 +21,12 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- USE_COLOR=True
|
- USE_COLOR=True
|
||||||
- SHOW_PROGRESS=False
|
- SHOW_PROGRESS=False
|
||||||
# - SEARCH_BACKEND_ENGINE=sonic
|
# - SEARCH_BACKEND_ENGINE=sonic # uncomment these if you enable sonic below
|
||||||
# - SEARCH_BACKEND_HOST_NAME=sonic
|
# - SEARCH_BACKEND_HOST_NAME=sonic
|
||||||
# - SEARCH_BACKEND_PASSWORD=SecretPassword
|
# - SEARCH_BACKEND_PASSWORD=SecretPassword
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
|
# - ./archivebox:/app/archivebox # for developers working on archivebox
|
||||||
|
|
||||||
# To run the Sonic full-text search backend, create an ./etc/sonic folder
|
# To run the Sonic full-text search backend, create an ./etc/sonic folder
|
||||||
# and download the sonic config file from here into that folder:
|
# and download the sonic config file from here into that folder:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue