Skip to content

Commit f6c67a0

Browse files
committed
Adding healthcheck for connector
1 parent 81903cd commit f6c67a0

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

src/docker-compose-base.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ services:
2929
service-control:
3030
condition: service_healthy
3131
container_name: masstransit-connector
32-
image: particular/servicecontrol-masstransit-connector:latest
32+
image: particular/servicecontrol-masstransit-connector:latest
3333
pull_policy: always
3434
volumes:
3535
- ./queues.txt:/app/queues.txt:ro
@@ -66,6 +66,9 @@ services:
6666
- 61335:80
6767
volumes:
6868
- ./frontend:/app # Optional for hot reloading
69+
depends_on:
70+
masstransit-connector:
71+
condition: service_healthy
6972
billing:
7073
profiles: ['']
7174
build:
@@ -80,7 +83,7 @@ services:
8083
- TRANSPORT_TYPE
8184
- CONNECTION_STRING
8285
depends_on:
83-
service-control:
86+
masstransit-connector:
8487
condition: service_healthy
8588
shipping:
8689
profiles: ['']
@@ -96,7 +99,7 @@ services:
9699
- TRANSPORT_TYPE
97100
- CONNECTION_STRING
98101
depends_on:
99-
service-control:
102+
masstransit-connector:
100103
condition: service_healthy
101104
sales:
102105
profiles: ['']
@@ -112,8 +115,8 @@ services:
112115
- TRANSPORT_TYPE
113116
- CONNECTION_STRING
114117
depends_on:
115-
service-control:
116-
condition: service_healthy
118+
masstransit-connector:
119+
condition: service_healthy
117120
clientui:
118121
profiles: ['']
119122
build:
@@ -128,7 +131,7 @@ services:
128131
- TRANSPORT_TYPE
129132
- CONNECTION_STRING
130133
depends_on:
131-
service-control:
134+
masstransit-connector:
132135
condition: service_healthy
133136

134137
volumes:

0 commit comments

Comments
 (0)