Skip to content

Commit 3191d9b

Browse files
committed
fix: change depends_on backend condition to service_started to avoid startup sync deadlock
1 parent 432bc83 commit 3191d9b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ services:
535535
redis-lms:
536536
condition: service_healthy
537537
backend:
538-
condition: service_healthy
538+
condition: service_started
539539
networks:
540540
- app-network
541541
healthcheck:
@@ -625,7 +625,7 @@ services:
625625
redis-lms:
626626
condition: service_healthy
627627
backend:
628-
condition: service_healthy
628+
condition: service_started
629629
networks:
630630
- app-network
631631
healthcheck:
@@ -704,7 +704,7 @@ services:
704704
redis-lms:
705705
condition: service_healthy
706706
backend:
707-
condition: service_healthy
707+
condition: service_started
708708
networks:
709709
- app-network
710710
healthcheck:

0 commit comments

Comments
 (0)