Add new environment variable for logging slow MariaDB queries.
This commit is contained in:
parent
18a2089377
commit
059b9e5670
|
@ -52,3 +52,7 @@ MYSQL_DATABASE=azuracast
|
||||||
# Default: yes
|
# Default: yes
|
||||||
MYSQL_RANDOM_ROOT_PASSWORD=yes
|
MYSQL_RANDOM_ROOT_PASSWORD=yes
|
||||||
|
|
||||||
|
# Log slower queries for the purpose of diagnosing issues. Only turn this on when
|
||||||
|
# you need to, by uncommenting this and switching it to 1.
|
||||||
|
MYSQL_SLOW_QUERY_LOG=1
|
||||||
|
|
||||||
|
|
|
@ -63,6 +63,13 @@ MYSQL_DATABASE=azuracast
|
||||||
# Default: yes
|
# Default: yes
|
||||||
MYSQL_RANDOM_ROOT_PASSWORD=yes
|
MYSQL_RANDOM_ROOT_PASSWORD=yes
|
||||||
|
|
||||||
|
# Log slower queries for the purpose of diagnosing issues. Only turn this on when
|
||||||
|
# you need to, by uncommenting this and switching it to 1.
|
||||||
|
# To read the slow query log once enabled, run:
|
||||||
|
# docker-compose exec mariadb mysqldumpslow /var/log/mysql/slow.log
|
||||||
|
# Default: 0
|
||||||
|
MYSQL_SLOW_QUERY_LOG=0
|
||||||
|
|
||||||
#
|
#
|
||||||
# Advanced Configuration
|
# Advanced Configuration
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue