From bef122f76021696195b515ce2c84cbb63fa785ad Mon Sep 17 00:00:00 2001 From: Cyrille <1618640+cyri113@users.noreply.github.com> Date: Sat, 13 Apr 2024 19:43:37 +0200 Subject: [PATCH] fix docker-compose --- development/docker-compose.yml | 39 ++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/development/docker-compose.yml b/development/docker-compose.yml index 0c5e798..d9ffdd6 100644 --- a/development/docker-compose.yml +++ b/development/docker-compose.yml @@ -136,6 +136,24 @@ x-hivemind-common: - monitoring <<: [*sm-resources-common] +x-telegram-common: + &telegram-common + image: ghcr.io/togethercrew/telegram:main + restart: unless-stopped + env_file: + - ./.env.telegram + depends_on: + rabbitmq: + condition: service_healthy + neo4j: + condition: service_healthy + mongodb: + condition: service_healthy + networks: + - production + - monitoring + <<: [*sm-resources-common] + services: ### DATABASES ### @@ -502,32 +520,17 @@ services: ### TELEGRAM - x-telegram-common: - &telegram-common - image: ghcr.io/togethercrew/telegram:main - restart: unless-stopped - env_file: - - ./.env.telegram - depends_on: - rabbitmq: - condition: service_healthy - neo4j: - condition: service_healthy - mongodb: - condition: service_healthy - networks: - - production - - monitoring - <<: [*sm-resources-common] - telegram-bot: <<: [*telegram-common] + container_name: telegram-bot command: npm run start bot telegram-events: <<: [*telegram-common] + container_name: telegram-events command: npm run start event-store telegram-graph: <<: [*telegram-common] + container_name: telegram-graph command: npm run start graph-store ### ADMIN