-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
80 lines (70 loc) · 1.56 KB
/
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
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
version: '3.1'
services:
redis:
image: redis:7-alpine
restart: always
logging:
driver: none
mongo:
image: mongo:6
restart: always
volumes:
- ./mongo_data/mongodb:/data/db
command: --quiet
logging:
driver: none
ports:
- "127.0.0.1:27017:27017"
meili:
image: getmeili/meilisearch:v1.0.2
restart: always
environment:
- MEILI_HTTP_PAYLOAD_SIZE_LIMIT=1073741824 #1GiB
volumes:
- meilisearch_data:/meili_data
mysql:
image: ubuntu/mysql:8.0-22.04_beta
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: 'root'
logging:
driver: none
command: "--skip-log-bin --default-authentication-plugin=mysql_native_password"
socat:
image: bennythink/socat
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
entrypoint: [ "socat", "tcp-listen:2375,fork,reuseaddr","unix-connect:/var/run/docker.sock" ]
logging:
driver: none
mailhog:
image: cd2team/mailhog
restart: unless-stopped
logging:
driver: none
bot:
image: bennythink/yyetsbot
depends_on:
- redis
- mongo
- socat
restart: always
env_file:
- env/yyets.env
web:
image: bennythink/yyetsbot
restart: always
env_file:
- env/yyets.env
depends_on:
- mongo
- redis
- mysql
working_dir: /YYeTsBot/yyetsweb/
command: [ "python3","server.py","-h=0.0.0.0" ]
ports:
- "127.0.0.1:8888:8888"
- "172.17.0.1:8888:8888"
volumes:
meilisearch_data: