From 4c836843850571d7cb78eaff5b73a75049b37a31 Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 29 Mar 2024 06:45:42 +0900 Subject: [PATCH] docs: add instruction to enable PGroonga extension (close #10881) --- docs/install-container.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/install-container.md b/docs/install-container.md index 38852e6ebd..0d84f907a5 100644 --- a/docs/install-container.md +++ b/docs/install-container.md @@ -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