From d37c375e5d3ba0bf35b5dbd3c66238656767af7d Mon Sep 17 00:00:00 2001
From: naskya <m@naskya.net>
Date: Wed, 27 Mar 2024 10:08:19 +0900
Subject: [PATCH] docs: add 'sleep 5' to wait for the startup of the database
 container

---
 docs/notice-for-admins.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/notice-for-admins.md b/docs/notice-for-admins.md
index fdc501a8df..3e8bbe8286 100644
--- a/docs/notice-for-admins.md
+++ b/docs/notice-for-admins.md
@@ -131,8 +131,8 @@ db:
 After that, execute this command to enable PGroonga:
 
 ```sh
-docker-compose up db --detach && docker-compose exec db sh -c 'psql --user="${POSTGRES_USER}" --dbname="${POSTGRES_DB}" --command="CREATE EXTENSION pgroonga;"'
-# or podman-compose up db --detach && podman-compose exec db sh -c 'psql --user="${POSTGRES_USER}" --dbname="${POSTGRES_DB}" --command="CREATE EXTENSION pgroonga;"'
+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;"'
 ```
 
 Once this is done, you can start Firefish as usual.