Skip to content

Commit

Permalink
fix docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 authored Apr 13, 2024
1 parent d739370 commit bef122f
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions development/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ###
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bef122f

Please sign in to comment.