mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-21 05:41:54 +02:00
ignore shm db file and config files in archivebox data dir on init
This commit is contained in:
@@ -76,6 +76,7 @@ from .config import (
|
||||
ARCHIVE_DIR,
|
||||
LOGS_DIR,
|
||||
CONFIG_FILE,
|
||||
CONFIG_FILENAME,
|
||||
ARCHIVE_DIR_NAME,
|
||||
SOURCES_DIR_NAME,
|
||||
LOGS_DIR_NAME,
|
||||
@@ -131,10 +132,13 @@ ALLOWED_IN_OUTPUT_DIR = {
|
||||
LOGS_DIR_NAME,
|
||||
SQL_INDEX_FILENAME,
|
||||
f'{SQL_INDEX_FILENAME}-wal',
|
||||
f'{SQL_INDEX_FILENAME}-shm',
|
||||
JSON_INDEX_FILENAME,
|
||||
HTML_INDEX_FILENAME,
|
||||
ROBOTS_TXT_FILENAME,
|
||||
FAVICON_FILENAME,
|
||||
CONFIG_FILENAME,
|
||||
f'{CONFIG_FILENAME}.bak',
|
||||
}
|
||||
|
||||
@enforce_types
|
||||
|
@@ -21,11 +21,12 @@ services:
|
||||
environment:
|
||||
- USE_COLOR=True
|
||||
- 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_PASSWORD=SecretPassword
|
||||
volumes:
|
||||
- ./data:/data
|
||||
# - ./archivebox:/app/archivebox # for developers working on archivebox
|
||||
|
||||
# To run the Sonic full-text search backend, create an ./etc/sonic folder
|
||||
# and download the sonic config file from here into that folder:
|
||||
|
Reference in New Issue
Block a user