This commit is contained in:
hailin 2025-05-20 15:23:33 +08:00
parent f7c5d50cd4
commit 4c9e3ba9eb
1 changed files with 3 additions and 2 deletions

View File

@ -354,7 +354,8 @@ RUN chmod +x /supabase/postgres/wrapper.sh /supabase/postgrest/wrapper.sh /supab
#ENTRYPOINT ["docker-entrypoint.sh"] #ENTRYPOINT ["docker-entrypoint.sh"]
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=20 CMD pg_isready -U postgres -h localhost
STOPSIGNAL SIGINT STOPSIGNAL SIGINT
#EXPOSE 5432 #EXPOSE 5432
@ -425,4 +426,4 @@ COPY chatdesk-ui/supabase ./supabase
WORKDIR / WORKDIR /
ENV NODE_ENV=production ENV NODE_ENV=production
EXPOSE 3030 EXPOSE 3030 8000