mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-25 04:04:25 -04:00
disable sonic by default in docker-compose and add instructions
This commit is contained in:
parent
39e7f84156
commit
188670eb8b
1 changed files with 17 additions and 17 deletions
|
@ -20,27 +20,27 @@ services:
|
||||||
- 8000:8000
|
- 8000:8000
|
||||||
environment:
|
environment:
|
||||||
- USE_COLOR=True
|
- USE_COLOR=True
|
||||||
- SHOW_PROGRESS=False
|
# - SEARCH_BACKEND_ENGINE=sonic
|
||||||
- SEARCH_BACKEND_ENGINE=sonic
|
# - SEARCH_BACKEND_HOST_NAME=sonic
|
||||||
- SEARCH_BACKEND_HOST_NAME=sonic
|
# - SEARCH_BACKEND_PASSWORD=SecretPassword
|
||||||
- SEARCH_BACKEND_PASSWORD=SecretPassword
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
depends_on:
|
|
||||||
- sonic
|
|
||||||
|
|
||||||
# Run sonic search backend
|
# To run the Sonic full-text search backend, create an ./etc/sonic folder
|
||||||
sonic:
|
# and download the sonic config file from here into that folder:
|
||||||
image: valeriansaliou/sonic:v1.3.0
|
# https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/master/etc/sonic/config.cfg
|
||||||
ports:
|
# sonic:
|
||||||
- 1491:1491
|
# image: valeriansaliou/sonic:v1.3.0
|
||||||
environment:
|
# expose:
|
||||||
- SEARCH_BACKEND_PASSWORD=SecretPassword
|
# - 1491
|
||||||
volumes:
|
# environment:
|
||||||
- ./etc/sonic/config.cfg:/etc/sonic.cfg
|
# - SEARCH_BACKEND_PASSWORD=SecretPassword
|
||||||
- ./data:/var/lib/sonic/store/
|
# volumes:
|
||||||
|
# - ./etc/sonic/config.cfg:/etc/sonic.cfg
|
||||||
|
# - ./data/sonic:/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
|
||||||
|
|
||||||
# Example: Run scheduled imports in a docker instead of using cron on the
|
# Example: Run scheduled imports in a docker instead of using cron on the
|
||||||
# host machine, add tasks and see more info with archivebox schedule --help
|
# host machine, add tasks and see more info with archivebox schedule --help
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue