Add environement variables for increasing the amount of allowed database connections (#3357)

This commit is contained in:
Vaalyn 2020-10-30 20:10:25 +01:00 committed by GitHub
parent 02b92bfd60
commit 1f79f86be6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -59,3 +59,7 @@ MYSQL_RANDOM_ROOT_PASSWORD=yes
# docker-compose exec mariadb slow_queries
MYSQL_SLOW_QUERY_LOG=1
# Set the amount of allowed connections to the database. This value should be increased
# if you are seeing the `Too many connections` error in the logs.
# Default: 100
MYSQL_MAX_CONNECTIONS=100

View File

@ -85,6 +85,11 @@ MYSQL_RANDOM_ROOT_PASSWORD=yes
# Default: 0
MYSQL_SLOW_QUERY_LOG=0
# Set the amount of allowed connections to the database. This value should be increased
# if you are seeing the `Too many connections` error in the logs.
# Default: 100
MYSQL_MAX_CONNECTIONS=100
#
# Advanced Configuration
#