Ver código fonte

fix: await kafka-init exit

master
Blaz Smehov 1 mês atrás
pai
commit
21853c0f58
1 arquivos alterados com 10 adições e 5 exclusões
  1. +10
    -5
      build/docker-compose.yaml

+ 10
- 5
build/docker-compose.yaml Ver arquivo

@@ -63,7 +63,8 @@ services:
environment:
- KAFKA_URL=kafka:29092
depends_on:
- kafka-init
kafka-init:
condition: service_completed_successfully
restart: always
presense-server:
@@ -78,8 +79,10 @@ services:
ports:
- "127.0.0.1:1902:1902"
depends_on:
- kafka-init
- valkey
valkey:
condition: service_started
kafka-init:
condition: service_completed_successfully
restart: always

presense-bridge:
@@ -94,7 +97,8 @@ services:
- MQTT_USERNAME=user
- MQTT_PASSWORD=pass
depends_on:
- kafka-init
kafka-init:
condition: service_completed_successfully
restart: always

presense-location:
@@ -106,7 +110,8 @@ services:
environment:
- KAFKA_URL=kafka:29092
depends_on:
- kafka-init
kafka-init:
condition: service_completed_successfully
restart: always



Carregando…
Cancelar
Salvar