Skip to content

Commit

Permalink
feat(docker): add depends_on for inx-chronicle (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
grtlr authored Aug 2, 2022
1 parent d6657e4 commit 6674cb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/docker-compose.hornet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
healthcheck:
test: test $$(echo "rs.initiate({_id:'my-replica-set',members:[{_id:0,host:\"mongo1:27017\"},{_id:1,host:\"mongo2:27019\"},{_id:2,host:\"mongo3:27020\"}]}).ok || rs.status().ok" | mongo --port 27017 --quiet) -eq 1
interval: 10s
start_period: 30s
start_period: 5s

mongo2:
image: mongo:latest
Expand All @@ -38,6 +38,7 @@ services:

inx-chronicle:
container_name: inx-chronicle
depends_on: [mongo1, mongo2, mongo3, hornet]
build:
context: ..
dockerfile: docker/Dockerfile
Expand Down

0 comments on commit 6674cb4

Please sign in to comment.