This is the default example configuration of my.cnf provided by MariaDB. This config file was generated by MariaDB running on Alpine 3.
It is located under: /etc/my.cnf
# This group is read both both by the client and the server
# use it for options that affect everything
[client-server]
# This group is read by the server
[mysqld]
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# include all files from the config directory
!includedir /etc/my.cnf.d
Download the raw file with wget or curl
wget -O my.cnf.example http://exampleconfig.com/static/raw/mariadb/alpine3/etc/my.cnf
curl http://exampleconfig.com/static/raw/mariadb/alpine3/etc/my.cnf > my.cnf.example
Other config files you might find useful