Add postgres with healthcheck
This commit is contained in:
parent
42721205c9
commit
b81e5aa9f8
3 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
# checkov:skip=CKV_DOCKER_3 We're not adding a user, its coming down from on-high in mariadb.
|
||||
FROM mariadb:injected-version
|
||||
|
||||
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# checkov:skip=CKV_DOCKER_3 We're not adding a user, its coming down from on-high in postgres.
|
||||
FROM postgres:injected-version
|
||||
|
||||
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
PG_PASSWORD=$POSTGRES_PASSWORD pg_isready -U "$POSTGRES_USER"
|
||||
PG_PASSWORD=${POSTGRES_PASSWORD} pg_isready -U "${POSTGRES_USER}"
|
||||
|
|
Loading…
Reference in a new issue