Updating Healthcheck
This commit is contained in:
parent
0ea86a8c05
commit
7dd4ba4f7a
2 changed files with 2 additions and 2 deletions
|
@ -58,4 +58,4 @@ EXPOSE 5432
|
|||
CMD ["postgres","-c","listen_addresses=*"]
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=3s --retries=4 \
|
||||
CMD pg_isready -U postgres
|
||||
CMD pg_isready -U "${POSTGRES_USER:-postgres}"
|
||||
|
|
|
@ -10,7 +10,7 @@ If you use the image, you will have to make a mount for the **/data** directory
|
|||
|
||||
### Image Name
|
||||
|
||||
The image name for your Docker is **src.ci/srv/postgres:latest**. This is only applicable, if you do not want to change the User ID and Group ID.
|
||||
The image name for your Docker is **src.ci/srv/postgres:latest**. This is only applicable, if you do not need to change the User ID and Group ID.
|
||||
|
||||
### ARGS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue