Sign inSign up

hence/mariadb

By hence

•Updated about 10 years ago

Image
0

2.8K

hence/mariadb repository overview

⁠Hence MariaDB

Note: This image is still in BETA, and is subject to change without notice.

This is our minimal customized MariaDB image based on alpine:3.2⁠.

It uses the s6-overlay⁠ as a process supervisor and for log rotation.

⁠Features

Builds on the hence/base⁠ image to provide a minimally-sized, fully functional MariaDB environment.

It includes both the mariadb server and client, and a sensible configuration to begin with. Most my.conf variables can be modified at runtime through environment variables, or a custom conf file can me mounted as a volume.

Data can also be volume-mounted for easy persistence

⁠Default supervised processes:
  • s6-svscan (as PID 1)
  • mysqld
  • mysql-general-logs (log fifo)
  • mysql-error-logs (log fifo)
  • mysql-slow-query-logs (log fifo)

⁠Available mysql environment variables [defaults]

MARIADB_USER [root] (Change this for public deployments)
MARIADB_PASSWORD [] (Change this for public deployments)
MARIADB_DATABASE []

⁠Available conf environment variables [defaults]

MARIADB_BIND_ADDRESS [0.0.0.0]
MARIADB_MAX_CONNECTIONS [100]
MARIADB_CONNECT_TIMEOUT [5]
MARIADB_WAIT_TIMEOUT [600]
MARIADB_MAX_ALLOWED_PACKET [16M]
MARIADB_THREAD_CACHE_SIZE [128]
MARIADB_SORT_BUFFER_SIZE [4M]
MARIADB_BULK_INSERT_BUFFER_SIZE [16M]
MARIADB_TMP_TABLE_SIZE [32M]
MARIADB_MAX_HEAP_TABLE_SIZE [32M]
MARIADB_MYISAM_RECOVER [BACKUP]
MARIADB_KEY_BUFFER_SIZE [128M]
MARIADB_OPEN_FILES_LIMIT [2000]
MARIADB_TABLE_OPEN_CACHE [400]
MARIADB_MYISAM_SORT_BUFFER_SIZE [512M]
MARIADB_CONCURRENT_INSERT [2]
MARIADB_READ_BUFFER_SIZE [2M]
MARIADB_READ_RND_BUFFER_SIZE [1M]
MARIADB_QUERY_CACHE_LIMIT [128K]
MARIADB_QUERY_CACHE_SIZE [64M]
MARIADB_QUERY_CACHE_TYPE [ON]
MARIADB_LOG_WARNINGS [2]
MARIADB_SLOW_QUERY_LOG [0]
MARIADB_LONG_QUERY_TIME [10]
MARIADB_LOG_SLOW_RATE_LIMIT [50]
MARIADB_LOG_SLOW_VERBOSITY [query_plan]
MARIADB_INNODB_BUFFER_POOL_SIZE [256M]
MARIADB_LOG_BUFFER_SIZE [8M]
MARIADB_FILE_PER_TABLE [1]
MARIADB_OPEN_FILES [400]
MARIADB_IO_CAPACITY [400]
MARIADB_FLUSH_METHOD [O_DIRECT]
MARIADB_MAX_ALLOWED_PACKE [16M]
MARIADB_KEY_BUFFER [16M]
MARIADB_DEFAULT_CHARACTER_SET [utf8]
MARIADB_CHARACTER_SET_SERVER [utf8]
MARIADB_CHARACTER_SETS_DIR [/usr/share/mysql/charsets]
MARIADB_COLLATION_SERVER [utf8_general_ci]

⁠Authors

⁠License

MIT

Copyright (c) 2015 Therefore Interactive⁠

Tag summary

Content type

Image

Digest

sha256:03eadda8f…

Size

58.4 MB

Last updated

over 10 years ago

docker pull hence/mariadb