Skip to content

Commit

Permalink
database dependency: condition started
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky committed Jul 3, 2023
1 parent cb5e065 commit afdc359
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ version: "3.9"
services:

ocrd-monitor:
depends_on:
- ocrd-database
depends_on:
ocrd-database:
condition: service_started

build:
context: .
Expand Down Expand Up @@ -55,8 +56,9 @@ services:

mongo-express:
image: mongo-express:latest
depends_on:
- ocrd-database
depends_on:
ocrd-database:
condition: service_started
ports:
- 8081:8081
environment:
Expand Down

0 comments on commit afdc359

Please sign in to comment.