This commit is contained in:
hailin 2025-06-16 14:28:46 +08:00
parent 8d8b704a73
commit cd2c561547
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"] ENTRYPOINT ["supervisord"]
#HEALTHCHECK --interval=2s --timeout=2s --retries=10 CMD pg_isready -U postgres -h localhost #HEALTHCHECK --interval=2s --timeout=2s --retries=10 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 HEALTHCHECK --interval=10s --timeout=6s --start-period=60s --retries=5 CMD pg_isready -U postgres -h 127.0.0.1 -p 5432 || exit 1
STOPSIGNAL SIGINT STOPSIGNAL SIGINT
#EXPOSE 5432 #EXPOSE 5432