File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -43,3 +43,5 @@ RUN set -euo pipefail; chmod +x /usr/local/bin/docker-entrypoint.sh; \
4343 sed -ri "s|^#?(listen_addresses)\s *=\s *\S +.*|\1 = '*'|" /usr/share/postgresql10/postgresql.conf.sample
4444
4545STOPSIGNAL SIGINT
46+ HEALTHCHECK --interval=10s --start-period=10s --timeout=5s \
47+ CMD pg_isready -U ${POSTGRES_USER:-postgres} -h localhost -p 5432
Original file line number Diff line number Diff line change @@ -43,3 +43,5 @@ RUN set -euo pipefail; chmod +x /usr/local/bin/docker-entrypoint.sh; \
4343 sed -ri "s|^#?(listen_addresses)\s *=\s *\S +.*|\1 = '*'|" /usr/share/postgresql12/postgresql.conf.sample
4444
4545STOPSIGNAL SIGINT
46+ HEALTHCHECK --interval=10s --start-period=10s --timeout=5s \
47+ CMD pg_isready -U ${POSTGRES_USER:-postgres} -h localhost -p 5432
Original file line number Diff line number Diff line change @@ -43,3 +43,5 @@ RUN set -euo pipefail; chmod +x /usr/local/bin/docker-entrypoint.sh; \
4343 sed -ri "s|^#?(listen_addresses)\s *=\s *\S +.*|\1 = '*'|" /usr/share/postgresql13/postgresql.conf.sample
4444
4545STOPSIGNAL SIGINT
46+ HEALTHCHECK --interval=10s --start-period=10s --timeout=5s \
47+ CMD pg_isready -U ${POSTGRES_USER:-postgres} -h localhost -p 5432
Original file line number Diff line number Diff line change @@ -44,3 +44,5 @@ RUN set -euo pipefail; chmod +x /usr/local/bin/docker-entrypoint.sh; \
4444 sed -ri "s|^#?(listen_addresses)\s *=\s *\S +.*|\1 = '*'|" /usr/share/postgresql14/postgresql.conf.sample
4545
4646STOPSIGNAL SIGINT
47+ HEALTHCHECK --interval=10s --start-period=10s --timeout=5s \
48+ CMD pg_isready -U ${POSTGRES_USER:-postgres} -h localhost -p 5432
You can’t perform that action at this time.
0 commit comments