This is a very simple action to wait until all the services given by Docker Compose are Up and Healthy before moving on in your workflow.
It accepts two arguments:
- timeout: After timeout seconds, the wait process fails returning Status Code 1
- workdir: The directory where your docker-compose.yml is
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Check services healthiness
uses: thegabriele97/dockercompose-health-action@main
with:
timeout: '60'
workdir: 'src'
This project is distributed under the MIT license.