mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-17 16:44:26 -04:00
Use sonic as default search backend
This commit is contained in:
parent
60f5b94d74
commit
2082b98fd7
1 changed files with 12 additions and 12 deletions
|
@ -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/
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue