This commit is contained in:
parent
a210d2cd4c
commit
97785e9dc0
|
|
@ -323,7 +323,7 @@ RUN mkdir -p /var/run/postgresql && chown postgres:postgres /var/run/postgresql
|
||||||
COPY supervisord.conf ./etc/
|
COPY supervisord.conf ./etc/
|
||||||
COPY wrapper.sh /supabase/postgres/
|
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
|
HEALTHCHECK --interval=2s --timeout=2s --retries=10 CMD pg_isready -U postgres -h localhost
|
||||||
STOPSIGNAL SIGINT
|
STOPSIGNAL SIGINT
|
||||||
|
|
@ -344,7 +344,7 @@ ENV LC_ALL en_US.UTF-8
|
||||||
ENV LC_CTYPE=C.UTF-8
|
ENV LC_CTYPE=C.UTF-8
|
||||||
ENV LC_COLLATE=C.UTF-8
|
ENV LC_COLLATE=C.UTF-8
|
||||||
ENV LOCALE_ARCHIVE /usr/lib/locale/locale-archive
|
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
|
EXPOSE 5432
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/supervisord"]
|
# ENTRYPOINT ["/usr/bin/supervisord"]
|
||||||
|
|
||||||
CMD ["-c", "/etc/supervisord.conf"]
|
# CMD ["-c", "/etc/supervisord.conf"]
|
||||||
Loading…
Reference in New Issue