Skip to content

Commit

Permalink
add telegram
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 authored Apr 13, 2024
1 parent 711e28c commit efdb657
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
16 changes: 16 additions & 0 deletions development/.env.telegram.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
TELEGRAM_TOKEN=GENERATE_ON_BOTFATHER

RMQ_HOST=localhost
RMQ_PORT=5672
RMQ_USER=guest
RMQ_PASS=guest

MONGO_HOST=localhost
MONGO_PORT=27017
MONGO_USER=root
MONGO_PASS=pass

NEO4J_HOST=localhost
NEO4J_PORT=7687
NEO4J_USER=neo4j
NEO4J_PASS=password
30 changes: 30 additions & 0 deletions development/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,36 @@ services:
<<: [*hivemind-common, *md-resources-common]
command: python3 worker.py

### 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]
command: npm run start bot
telegram-events:
<<: [*telegram-common]
command: npm run start event-store
telegram-graph:
<<: [*telegram-common]
command: npm run start graph-store

### ADMIN

admin-panel:
Expand Down

0 comments on commit efdb657

Please sign in to comment.