Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1 KB

README.md

File metadata and controls

27 lines (21 loc) · 1 KB

Mysqld docker image

MySQL is a widely used, open-source relational database management system (RDBMS).

This image is based on official mysql server packages and is built on top of clover/common.

Data volumes

Location Description
/var/lib/mysql MySQL data directory, will be initialized with /usr/share/mysql/init.sql on the first, root password will be generated

Exposed ports

Port Description
3306 TCP port mysqld is listening on

Enviroment variables

Name Default value Description
PUID 50 Desired UID of the process owner *
PGID primary group id of the UID user (50) Desired GID of the process owner *

* PUID/PGID could be used to preserve data volume ownership on host.

Configuration files

Location Description
/etc/mysql/conf.d/ mysql configuration directory, all files within will be included by /etc/mysql/my.cnf