-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
67 lines (61 loc) · 1.37 KB
/
docker-compose.yml
File metadata and controls
67 lines (61 loc) · 1.37 KB
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
version: "3"
services:
web:
image: web_ui
build: ./web/
container_name: "web_ui"
ports:
- "8080:80"
depends_on:
- flask
flask:
restart: always
image: "flask_api"
build: ./coreService/
ports:
- "5000:5000"
container_name: "flask_api"
env_file:
- ./coreService/.env
environment:
MONGO_URI: "mongodb://mongo:27017"
depends_on:
- mongo
mongo:
image: "mongo"
user: "${UID}:${GID}"
container_name: "mongodb_container"
volumes:
- ~/.volumes/mongo/data/db/:/data/db/
translator:
image: "translator"
build: ./translator
environment:
- API_KEY=trnsl.1.1.20200309T121046Z.10fd25429d4264e1.1b1d8883b0e564975a110cb11b558d5d1e1aa68b
- API_ADDRESS=http://flask:5000/api/wiki
container_name: "translator"
depends_on:
- flask
tg_userbot:
# restart: always
image: "searchbot"
env_file:
- ./telegramBots/userBot/.env
environment:
- API_HOST=flask
- API_PORT=5000
build: ./telegramBots/userBot/
container_name: "search_bot"
depends_on:
- flask
tg_editbot:
image: "editorbot"
env_file:
- ./telegramBots/editBot/.env
environment:
- API_HOST=flask
- API_PORT=5000
build: ./telegramBots/editBot/
container_name: "editor_bot"
depends_on:
- flask