This commit is contained in:
hailin 2025-05-16 23:52:40 +08:00
parent a210d2cd4c
commit 97785e9dc0
1 changed files with 4 additions and 4 deletions

View File

@ -323,7 +323,7 @@ RUN mkdir -p /var/run/postgresql && chown postgres:postgres /var/run/postgresql
COPY supervisord.conf ./etc/
COPY wrapper.sh /supabase/postgres/
#ENTRYPOINT ["docker-entrypoint.sh"]
ENTRYPOINT ["docker-entrypoint.sh"]
HEALTHCHECK --interval=2s --timeout=2s --retries=10 CMD pg_isready -U postgres -h localhost
STOPSIGNAL SIGINT
@ -344,7 +344,7 @@ ENV LC_ALL en_US.UTF-8
ENV LC_CTYPE=C.UTF-8
ENV LC_COLLATE=C.UTF-8
ENV LOCALE_ARCHIVE /usr/lib/locale/locale-archive
#CMD ["postgres", "-D", "/etc/postgresql"]
CMD ["postgres", "-D", "/etc/postgresql"]
@ -496,6 +496,6 @@ ENV PATH="${PATH}:/nix/var/nix/profiles/default/bin"
EXPOSE 5432
ENTRYPOINT ["/usr/bin/supervisord"]
# ENTRYPOINT ["/usr/bin/supervisord"]
CMD ["-c", "/etc/supervisord.conf"]
# CMD ["-c", "/etc/supervisord.conf"]