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