UPchieve/subway

healthcheck.test must start either by "CMD", "CMD-SHELL" or "NONE"

Opened this issue · 0 comments

Hi,

When I execute the docker-compose up -d I get the below error:
healthcheck.test must start either by "CMD", "CMD-SHELL" or "NONE"
I added the "CMD" keyword to the beginning of the test line and the error was gone.

test: CMD ["pg_isready", "-h", "postgres"]

Did I do the right thing?

Thanks