forked from renecannao/benchmark-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
135 lines (125 loc) · 3.53 KB
/
docker-compose.yml
File metadata and controls
135 lines (125 loc) · 3.53 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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
version: "3.3"
services:
mysql57:
container_name: testinfra-mysql57
hostname: testinfra-mysql57
# image: proxysql/testing:testinfra-mysql57
image: mysql:5.7
ports:
- "13306:3306"
volumes:
# - ./docker/testinfra-mysql57/mysql.cnf:/etc/mysql/conf.d/mysql.cnf
- ./logs/:/var/log/mysql/
networks:
- testinfra
environment:
- MYSQL_ROOT_PASSWORD=root
mysql80:
container_name: testinfra-mysql80
hostname: testinfra-mysql80
image: mysql:8.0
ports:
- "13306:3306"
volumes:
# - ./docker/testinfra-mysql80/mysql.cnf:/etc/mysql/conf.d/mysql.cnf
- ./logs/:/var/log/mysql/
networks:
- testinfra
environment:
- MYSQL_ROOT_PASSWORD=root
# security_opt:
# - seccomp:unconfined
cap_add:
- SYS_NICE # CAP_SYS_NICE
mysql81:
container_name: testinfra-mysql81
hostname: testinfra-mysql81
image: mysql:8.1
ports:
- "13306:3306"
volumes:
# - ./docker/testinfra-mysql81/mysql.cnf:/etc/mysql/conf.d/mysql.cnf
- ./logs/:/var/log/mysql/
networks:
- testinfra
environment:
- MYSQL_ROOT_PASSWORD=root
# security_opt:
# - seccomp:unconfined
cap_add:
- SYS_NICE # CAP_SYS_NICE
mysql82:
container_name: testinfra-mysql82
hostname: testinfra-mysql82
image: mysql:8.2
ports:
- "13306:3306"
volumes:
# - ./docker/testinfra-mysql82/mysql.cnf:/etc/mysql/conf.d/mysql.cnf
- ./logs/:/var/log/mysql/
networks:
- testinfra
environment:
- MYSQL_ROOT_PASSWORD=root
# security_opt:
# - seccomp:unconfined
cap_add:
- SYS_NICE # CAP_SYS_NICE
mariadb10:
container_name: testinfra-mariadb10
hostname: testinfra-mariadb10
image: mariadb:10
ports:
- "13306:3306"
volumes:
# - ./docker/testinfra-mysql/mysql.cnf:/etc/mysql/conf.d/mysql.cnf
- ./logs/:/var/log/mysql/
networks:
- testinfra
environment:
- MYSQL_ROOT_PASSWORD=root
mariadb11:
container_name: testinfra-mariadb11
hostname: testinfra-mariadb11
image: mariadb:11
ports:
- "13306:3306"
volumes:
# - ./docker/testinfra-mysql/mysql.cnf:/etc/mysql/conf.d/mysql.cnf
- ./logs/:/var/log/mysql/
networks:
- testinfra
environment:
- MYSQL_ROOT_PASSWORD=root
proxysql:
container_name: testinfra-proxysql
hostname: testinfra-proxysql
image: proxysql/testing:testinfra-proxysql
ports:
- "16032:6032"
- "16033:6033"
- "16070:6070"
volumes:
- ./docker/testinfra-proxysql/proxysql.cfg:/etc/proxysql.cnf
- ./logs/:/var/log/proxysql/
networks:
- testinfra
# entrypoint: ["bash", "-c", "proxysql -f --idle-threads -D /var/lib/proxysql &> /var/lib/proxysql/proxysql.log"]
entrypoint: bash -c "proxysql -f --idle-threads -D /var/lib/proxysql 2>&1 | tee /var/log/proxysql/${NOW}_proxysql-error.log"
proxysql-dev:
container_name: testinfra-proxysql-dev
hostname: testinfra-proxysql-dev
image: proxysql/testing:testinfra-proxysql-dev
ports:
- "16032:6032"
- "16033:6033"
- "16070:6070"
volumes:
- ./docker/testinfra-proxysql/proxysql.cfg:/etc/proxysql.cnf
- ./logs/:/var/log/proxysql/
networks:
- testinfra
# entrypoint: ["bash", "-c", "proxysql -f --idle-threads -D /var/lib/proxysql &> /var/lib/proxysql/proxysql.log"]
entrypoint: bash -c "proxysql -f --idle-threads -D /var/lib/proxysql 2>&1 | tee /var/log/proxysql/${NOW}_proxysql-error.log"
networks:
testinfra: