1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-22 06:03:23 +02:00

Use sonic as default search backend

This commit is contained in:
jdcaballerov
2020-12-07 13:22:09 -05:00
committed by GitHub
parent 60f5b94d74
commit 2082b98fd7

View File

@@ -21,10 +21,20 @@ services:
environment: environment:
- USE_COLOR=True - USE_COLOR=True
- SHOW_PROGRESS=False - SHOW_PROGRESS=False
- SEARCH_BACKEND_ENGINE=sonic
volumes: volumes:
- ./data:/data - ./data:/data
# Run sonic search backend
sonic:
image: valeriansaliou/sonic:v1.3.0
ports:
- 1491:1491
environment:
- SEARCH_BACKEND_PASSWORD=SecretPassword
volumes:
- ./etc/sonic/config.cfg:/etc/sonic.cfg
- ./data:/var/lib/sonic/store/
# Optional Addons: tweak these examples as needed for your specific use case # Optional Addons: tweak these examples as needed for your specific use case
@@ -74,14 +84,4 @@ services:
# volumes: # volumes:
# ./data:/archivebox # ./data:/archivebox
# ./data/wayback:/webarchive # ./data/wayback:/webarchive
# Example: Run sonic search backend
# sonic:
# image: valeriansaliou/sonic:v1.3.0
# ports:
# - 1491:1491
# environment:
# - SEARCH_BACKEND_PASSWORD=SecretPassword
# volumes:
# - ./etc/sonic/config.cfg:/etc/sonic.cfg
# - ./data:/var/lib/sonic/store/