MariaDB: Parameterized performance settings via .env and docker-compose command flags.
This commit is contained in:
@@ -51,6 +51,15 @@ services:
|
||||
restart: always
|
||||
image: mariadb:10.11
|
||||
container_name: ae_mariadb_dev
|
||||
command: [
|
||||
"mysqld",
|
||||
"--max-connections=${MARIADB_MAX_CONNECTIONS}",
|
||||
"--innodb-buffer-pool-size=${MARIADB_INNODB_BUFFER_POOL_SIZE}",
|
||||
"--query-cache-size=${MARIADB_QUERY_CACHE_SIZE}",
|
||||
"--tmp-table-size=${MARIADB_TMP_TABLE_SIZE}",
|
||||
"--max-heap-table-size=${MARIADB_TMP_TABLE_SIZE}",
|
||||
"--table-open-cache=${MARIADB_TABLE_OPEN_CACHE}"
|
||||
]
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: ${AE_DB_PASSWORD}
|
||||
MYSQL_DATABASE: ${AE_DB_NAME}
|
||||
|
||||
Reference in New Issue
Block a user