-
Notifications
You must be signed in to change notification settings - Fork 51
/
docker-compose.yml
29 lines (29 loc) · 815 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
# see CONTRIBUTING.md
---
version: '3'
services:
proxysql:
image: ${PROXYSQL_IMAGE:-perconalab/proxysql:1.3.6}
environment:
# those environment variables are not actually required by ProxySQL, but entrypoint erroneously checks them
- CLUSTER_NAME=dummy
- DISCOVERY_SERVICE=dummy
ports:
- 127.0.0.1:13306:3306 # user interface
- 127.0.0.1:16032:6032 # admin interface
mysql:
image: mysql:8.0
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
- MYSQL_USER=monitor
- MYSQL_PASSWORD=monitor
# ports:
# - 127.0.0.1:23306:3306
percona-server:
image: percona/percona-server:5.7
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
- MYSQL_USER=monitor
- MYSQL_PASSWORD=monitor
# ports:
# - 127.0.0.1:33306:3306