docs: add instruction to enable PGroonga extension (close #10881)

This commit is contained in:
naskya 2024-03-29 06:45:42 +09:00
parent 73ab605188
commit 4c83684385
No known key found for this signature in database
GPG Key ID: 712D413B3A9FED5C
1 changed files with 7 additions and 0 deletions

View File

@ -33,6 +33,13 @@ docker pull registry.firefish.dev/firefish/firefish:latest
# or podman pull registry.firefish.dev/firefish/firefish:latest
```
## Enable database extension
```sh
docker-compose up db --detach && sleep 5 && docker-compose exec db sh -c 'psql --user="${POSTGRES_USER}" --dbname="${POSTGRES_DB}" --command="CREATE EXTENSION pgroonga;"'
# or podman-compose up db --detach && sleep 5 && podman-compose exec db sh -c 'psql --user="${POSTGRES_USER}" --dbname="${POSTGRES_DB}" --command="CREATE EXTENSION pgroonga;"'
```
## Run
```sh