diff --git a/compose.yml b/compose.yml index 280cd7d85..ab985c250 100644 --- a/compose.yml +++ b/compose.yml @@ -106,6 +106,11 @@ services: # volumes: # - ./postgres-init:/docker-entrypoint-initdb.d # Place init file(s) here. # - /path/to/postgres/data/on/host:/var/lib/postgresql/data # Use bind mount +# healthcheck: +# test: netstat -an | grep $DB_PORT > /dev/null; if [ 0 != $? ]; then exit 1; fi; +# interval: 10s +# timeout: 15s +# retries: 15 # apache: # image: wodby/apache:$APACHE_TAG