This commit is contained in:
hailin 2025-05-20 15:42:23 +08:00
parent 4c9e3ba9eb
commit 042a3d42ec
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ RUN chmod +x /supabase/postgres/wrapper.sh /supabase/postgrest/wrapper.sh /supab
ENTRYPOINT ["supervisord"]
#HEALTHCHECK --interval=2s --timeout=2s --retries=10 CMD pg_isready -U postgres -h localhost
HEALTHCHECK --interval=5s --timeout=3s --start-period=30s --retries=20 CMD pg_isready -U postgres -h localhost
HEALTHCHECK --interval=5s --timeout=3s --start-period=30s --retries=10 CMD pg_isready -U postgres -h 127.0.0.1 -p 5432 || exit 1
STOPSIGNAL SIGINT
#EXPOSE 5432