Needs
A task can declare needs on services. Hammerkit awaits the start of tasks until all service needs are ready.
services:
postgres:
image: postgres:12-alpine
healthcheck:
cmd: "pg_isready -U postgres"
tasks:
install:
description: "start api"
needs: [postgres]
cmds:
- node index.js
Last updated