Files
2026-05-20 15:23:05 +03:00

34 lines
787 B
YAML

version: '2'
services:
percona-server:
image: percona/percona-server:8.0
environment:
MYSQL_ROOT_PASSWORD: secret
ports:
- "3306"
volumes:
# create volumes for use
- /var/lib/mysql
# bind mount my local my.cnf
# - $PWD/my.cnf:/etc/my.cnf.d/my.cnf
# uncomment sections below if you want to enable PMM
# pmm-server:
# image: percona/pmm-server:latest
# ports:
# - "443:443"
# environment:
# - SERVER_USER=pmm
# - SERVER_PASSWORD=pmm
# pmm-client-ps:
# image: perconalab/pmm-client:latest
# environment:
# - PMM_SERVER=pmm-server:443
# - PMM_USER=pmm
# - PMM_PASSWORD=pmm
# - DB_TYPE=mysql
# - DB_HOST=percona-server
# - DB_PORT=3306
# - DB_USER=root
# - DB_PASSWORD=secret