diff --git a/Docker.md b/Docker.md index 57d8c55..46bddda 100644 --- a/Docker.md +++ b/Docker.md @@ -50,12 +50,20 @@ Docker version 18.09.1, build 4c52b90 # must be >= 17.04.0 ```bash mkdir archivebox && cd archivebox curl -O https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/master/docker-compose.yml -curl https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/master/etc/sonic/config.cfg > sonic.cfg docker-compose run archivebox init --setup docker-compose run archivebox add 'https://example.com' docker-compose up ``` +If you want to use sonic for full text search, download the sonic config file uncomment the sonic service in your `docker-compose.yml` file: +```bash +curl https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/master/etc/sonic/config.cfg > sonic.cfg +# then uncomment the sonic block in docker-compose.yml + +# to backfill previously added snapshots into the full text index, run: +docker-compose run archivebox update --index-only +``` + ### Usage First, make sure you're `cd`'ed into the same folder as your `docker-compose.yml` file (e.g. the project root) and that your containers have been started with `docker-compose up -d`.