-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathcompose.yaml
84 lines (81 loc) · 2.27 KB
/
compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#x-minio-common: &minio-common
# image: quay.io/minio/minio:RELEASE.2023-09-20T22-49-55Z
# command: server --console-address ":9001" http://minio1/data{1...2}
# expose:
# - ${MINIO_PORT}
# - 9001
# ports:
# - ${MINIO_PORT}:${MINIO_PORT}
# - 9001:9001
# env_file:
# .env
# healthcheck:
# test: [ "CMD", "curl", "-f", "http://${MINIO_HOST}:${MINIO_PORT}/minio/health/live" ]
# interval: 30s
# timeout: 20s
# retries: 3
services:
# minio1:
# <<: *minio-common
# hostname: minio1
# container_name: minio1-1
# volumes:
# - data1-1:/data1
# - data1-2:/data2
smart-bots-mongo:
env_file: .env
image: mongo:latest
container_name: smart-bots-mongo
command: mongod --port ${MONGO_PORT}
expose:
- ${MONGO_PORT}
ports:
- ${MONGO_PORT}:${MONGO_PORT}
volumes:
- dbdata6:/data/db
base-chatbot:
env_file:
- .env
- src/telegram_llm_bot/bots/base_chatbot/.env
command: poetry run python3 /app/src/telegram_llm_bot/app.py
volumes:
- type: bind
source: src/telegram_llm_bot/logs
target: /app/src/telegram_llm_bot/logs
build:
context: .
dockerfile: src/telegram_llm_bot/bots/base_chatbot/Dockerfile
container_name: base-chatbot
restart: "no"
# idea-sparring-bot:
# env_file:
# - .env
# - src/telegram_llm_bot/bots/idea_sparring/.env
# command: poetry run python3 /app/src/telegram_llm_bot/app.py
# volumes:
# - type: bind
# source: src/telegram_llm_bot/logs
# target: /app/src/telegram_llm_bot/logs
# build:
# context: .
# dockerfile: src/telegram_llm_bot/bots/idea_sparring/Dockerfile
# container_name: idea-sparring-bot
# restart: "no"
# voice-journal-bot:
# env_file:
# - .env
# - src/telegram_llm_bot/bots/voice_journal/.env
# command: poetry run python3 /app/src/telegram_llm_bot/app.py
# volumes:
# - type: bind
# source: src/telegram_llm_bot/logs
# target: /app/src/telegram_llm_bot/logs
# build:
# context: .
# dockerfile: src/telegram_llm_bot/bots/voice_journal/Dockerfile
# container_name: voice-journal-bot
# restart: "no"
volumes:
dbdata6:
#data1-1:
#data1-2: