-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
103 lines (95 loc) · 2.12 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
services:
bot:
container_name: bbot-app
image: brunofunnie/butecobot-reloaded-app:latest
environment:
TZ: "America/Sao_Paulo"
ENVIRONMENT: ${ENVIRONMENT:-development}
volumes:
- ./builds/.env:/app/.env
- ./storage/:/app/storage/
- ./storage/logs/:/app/logs/
networks:
bbot:
mysql:
container_name: bbot-mysql
image: mysql:8.1.0
environment:
TZ: "America/Sao_Paulo"
MYSQL_ROOT_PASSWORD: "root"
MYSQL_DATABASE: "butecobot"
MYSQL_USER: "butecobot"
MYSQL_PASSWORD: "butecobot"
ports:
- "3306:3306"
volumes:
- mysql:/var/lib/mysql
- ./docker/confs/mysql/my.cnf:/etc/mysql/my.cnf
networks:
bbot:
pma:
container_name: bbot-pma
image: phpmyadmin:5.2.1-apache
environment:
TZ: "America/Sao_Paulo"
PMA_ARBITRARY: "1"
MEMORY_LIMIT: "2048M"
UPLOAD_LIMIT: "2048M"
ports:
- "8081:80"
networks:
bbot:
mongo:
container_name: bbot-mongo
image: mongo
environment:
TZ: "America/Sao_Paulo"
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
ports:
- "27017:27017"
volumes:
- mongodb:/data/db
networks:
bbot:
mongo-express:
container_name: bbot-mongo-express
image: mongo-express
environment:
TZ: "America/Sao_Paulo"
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: rootd
ME_CONFIG_MONGODB_URL: mongodb://root:root@mongo:27017/
ME_CONFIG_BASICAUTH: false
ports:
- "8082:8081"
networks:
bbot:
valkey:
container_name: bbot-valkey
image: valkey/valkey
environment:
TZ: "America/Sao_Paulo"
ports:
- "6379:6379"
volumes:
- valkey:/data
command: valkey-server --save 20 1 --loglevel warning --requirepass valkey
networks:
bbot:
mpit:
container_name: bbot-mailpit
image: axllent/mailpit
environment:
TZ: "America/Sao_Paulo"
ports:
- "8025:8025"
- "1025:1025"
networks:
bbot:
networks:
bbot:
volumes:
mysql:
valkey:
mongodb: