Skip to content

Commit

Permalink
Add depends_on section for peers
Browse files Browse the repository at this point in the history
  • Loading branch information
sroopsai committed Apr 7, 2024
1 parent 3aa4587 commit 350f2e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/setup-docker/templates/fabric-docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ services:
- COUCHDB_PASSWORD=<%= peer.name %>Password
ports:
- <%= peer.couchDbExposePort %>:5984
depends_on:
couchdb.<%= peer.name %>.<%= org.domain %>:
condition: service_healthy
networks:
- basic
<%_ } _%>
Expand Down

0 comments on commit 350f2e1

Please # to comment.