From 4c9e3ba9eb06d12a4cdd6bc7527973cabb1726f3 Mon Sep 17 00:00:00 2001 From: hailin Date: Tue, 20 May 2025 15:23:33 +0800 Subject: [PATCH] . --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fba770f..b89d8ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -354,7 +354,8 @@ RUN chmod +x /supabase/postgres/wrapper.sh /supabase/postgrest/wrapper.sh /supab #ENTRYPOINT ["docker-entrypoint.sh"] 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=20 CMD pg_isready -U postgres -h localhost STOPSIGNAL SIGINT #EXPOSE 5432 @@ -425,4 +426,4 @@ COPY chatdesk-ui/supabase ./supabase WORKDIR / ENV NODE_ENV=production -EXPOSE 3030 \ No newline at end of file +EXPOSE 3030 8000 \ No newline at end of file