Add netcat install in dockerfile to provide a way to healthcheck in docker compose (#572)
This commit is contained in:
@@ -31,6 +31,9 @@ services:
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test: ["CMD", "nc", "-vz", "127.0.0.1", "8081"]
|
||||
interval: 5s
|
||||
|
||||
volumes:
|
||||
data:
|
||||
|
||||
Reference in New Issue
Block a user