Skip to content

Commit

Permalink
Add healthcheck to ensure docker service is working
Browse files Browse the repository at this point in the history
  • Loading branch information
jordap committed Jun 26, 2024
1 parent d78c9da commit d31c67c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/docker/slurm/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ services:
- controller
links:
- controller
healthcheck:
test: curl --fail localhost:8000/metrics || exit 1
interval: 15s
timeout: 10s
retries: 5
start_period: 15s

volumes:
jobs_dir:

0 comments on commit d31c67c

Please sign in to comment.