Skip to content

Commit

Permalink
Healthcheck on docker composer
Browse files Browse the repository at this point in the history
  • Loading branch information
blacksmith-welder committed Aug 29, 2024
1 parent bf91106 commit caebb59
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ services:
volumes:
- ./aspace/plugins:/archivesspace/plugins
- ./aspace/config:/archivesspace/config
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
interval: 30s
timeout: 10s
retries: 5
db:
image: mysql:8
cap_add:
Expand Down

0 comments on commit caebb59

Please sign in to comment.