Skip to content

Commit

Permalink
Wait option with healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
blacksmith-welder committed Aug 29, 2024
1 parent ffc137e commit d966b8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cucumber-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
uses: actions/checkout@v2
- name: Set up Docker
run: |
docker compose -f docker-compose.yml up --build
docker compose -f docker-compose.yml up --wait --detach
cucumber:
name: Run Cucmber Tests
Expand Down
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ services:
DB_USER: as
DB_PASS: as123
SOLR_URL: http://solr:8983/solr/archivesspace
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
interval: 30s
timeout: 60s
retries: 50
volumes:
- ./aspace/plugins:/archivesspace/plugins
- ./aspace/config:/archivesspace/config
Expand Down

0 comments on commit d966b8e

Please sign in to comment.