Skip to content

Commit

Permalink
Merge pull request #2 from joshdentremont/patch-1
Browse files Browse the repository at this point in the history
Make alpaca and fcrepo wait for activemq
  • Loading branch information
alxp authored May 3, 2023
2 parents cd1a90a + b101194 commit 752650e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,16 @@ services:
default:
aliases: # Allow access without using the `-dev` or `-prod` suffix.
- alpaca
depends_on:
activemq-dev:
condition: service_started
alpaca-prod:
<<: [*prod, *alpaca]
secrets:
- source: ALPACA_JMS_PASSWORD
depends_on:
activemq-prod:
condition: service_started
crayfits:
<<: [*common]
image: ${ISLANDORA_REPOSITORY}/crayfits:${ISLANDORA_TAG}
Expand Down Expand Up @@ -484,6 +490,9 @@ services:
default:
aliases: # Allow access without using the `-dev` or `-prod` suffix.
- fcrepo
depends_on:
activemq-dev:
condition: service_started
fcrepo-prod:
<<: [*prod, *fcrepo]
environment:
Expand All @@ -499,6 +508,9 @@ services:
- source: FCREPO_DB_PASSWORD
- source: JWT_ADMIN_TOKEN
- source: JWT_PUBLIC_KEY
depends_on:
activemq-prod:
condition: service_started
matomo-dev: &matomo
<<: [*dev, *common]
image: ${ISLANDORA_REPOSITORY}/matomo:${ISLANDORA_TAG}
Expand Down

0 comments on commit 752650e

Please sign in to comment.