-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
49 lines (45 loc) · 992 Bytes
/
docker-compose.yml
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
version: "3.3"
services:
bot_server:
hostname: 'bot_server'
image: ghcr.io/lukaszraczylo/tdlib-telegram-bot-api-docker/telegram-api-server:api-5.3.2
restart: unless-stopped
env_file:
- .env
command: [ "--local", "--dir", "/srv/public"]
volumes:
- ./bot_server_volume:/srv/public
bot:
build:
context: .
dockerfile: ./Dockerfile-bot
depends_on:
- "mongo"
restart: unless-stopped
env_file:
- .env
environment:
- RUN_IN_DOCKER=true
volumes:
- ./bot_server_volume:/raindropiobot/public
mongo:
hostname: 'mongo'
image: mongo:4.4
restart: unless-stopped
env_file:
- .env
volumes:
- ./mongo_volume:/data/db
htmlshare:
build:
context: .
dockerfile: Dockerfile-htmlshare
restart: unless-stopped
env_file:
- .env
environment:
- RUN_IN_DOCKER=true
volumes:
- ./htmlshare_volume:/app_data
ports:
- 8362:80