mirror of
https://github.com/nextcloud/docker.git
synced 2024-11-18 02:56:42 +01:00
* Fix the Transaction Isolation Level of the MYSQL/MariaDB Databases
in the .example section.
This commit is contained in:
parent
80a384c2b6
commit
8c86333de9
16 changed files with 48 additions and 0 deletions
|
@ -7,6 +7,7 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/mysql
|
- db:/var/lib/mysql
|
||||||
|
- ./mysql.conf:/etc/mysql/conf.d/mysql-config.cnf
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=
|
- MYSQL_ROOT_PASSWORD=
|
||||||
env_file:
|
env_file:
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[mysqld]
|
||||||
|
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||||
|
# ================================================
|
||||||
|
# https://docs.nextcloud.com/server/12/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||||
|
transaction-isolation = READ-COMMITTED
|
|
@ -7,6 +7,7 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/mysql
|
- db:/var/lib/mysql
|
||||||
|
- ./mysql.conf:/etc/mysql/conf.d/mysql-config.cnf
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=
|
- MYSQL_ROOT_PASSWORD=
|
||||||
env_file:
|
env_file:
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[mysqld]
|
||||||
|
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||||
|
# ================================================
|
||||||
|
# https://docs.nextcloud.com/server/12/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||||
|
transaction-isolation = READ-COMMITTED
|
|
@ -7,6 +7,7 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/mysql
|
- db:/var/lib/mysql
|
||||||
|
- ./mysql.conf:/etc/mysql/conf.d/mysql-config.cnf
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=
|
- MYSQL_ROOT_PASSWORD=
|
||||||
env_file:
|
env_file:
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[mysqld]
|
||||||
|
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||||
|
# ================================================
|
||||||
|
# https://docs.nextcloud.com/server/12/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||||
|
transaction-isolation = READ-COMMITTED
|
|
@ -7,6 +7,7 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/mysql
|
- db:/var/lib/mysql
|
||||||
|
- ./mysql.conf:/etc/mysql/conf.d/mysql-config.cnf
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=
|
- MYSQL_ROOT_PASSWORD=
|
||||||
env_file:
|
env_file:
|
||||||
|
|
5
.examples/docker-compose/insecure/mariadb/fpm/mysql.conf
Normal file
5
.examples/docker-compose/insecure/mariadb/fpm/mysql.conf
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[mysqld]
|
||||||
|
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||||
|
# ================================================
|
||||||
|
# https://docs.nextcloud.com/server/12/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||||
|
transaction-isolation = READ-COMMITTED
|
|
@ -7,6 +7,7 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/mysql
|
- db:/var/lib/mysql
|
||||||
|
- ./mysql.conf:/etc/mysql/conf.d/mysql-config.cnf
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=
|
- MYSQL_ROOT_PASSWORD=
|
||||||
env_file:
|
env_file:
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[mysqld]
|
||||||
|
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||||
|
# ================================================
|
||||||
|
# https://docs.nextcloud.com/server/12/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||||
|
transaction-isolation = READ-COMMITTED
|
|
@ -7,6 +7,7 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/mysql
|
- db:/var/lib/mysql
|
||||||
|
- ./mysql.conf:/etc/mysql/conf.d/mysql-config.cnf
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=
|
- MYSQL_ROOT_PASSWORD=
|
||||||
env_file:
|
env_file:
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[mysqld]
|
||||||
|
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||||
|
# ================================================
|
||||||
|
# https://docs.nextcloud.com/server/12/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||||
|
transaction-isolation = READ-COMMITTED
|
|
@ -7,6 +7,7 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/mysql
|
- db:/var/lib/mysql
|
||||||
|
- ./mysql.conf:/etc/mysql/conf.d/mysql-config.cnf
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=
|
- MYSQL_ROOT_PASSWORD=
|
||||||
env_file:
|
env_file:
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[mysqld]
|
||||||
|
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||||
|
# ================================================
|
||||||
|
# https://docs.nextcloud.com/server/12/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||||
|
transaction-isolation = READ-COMMITTED
|
|
@ -7,6 +7,7 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/mysql
|
- db:/var/lib/mysql
|
||||||
|
- ./mysql.conf:/etc/mysql/conf.d/mysql-config.cnf
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=
|
- MYSQL_ROOT_PASSWORD=
|
||||||
env_file:
|
env_file:
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[mysqld]
|
||||||
|
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||||
|
# ================================================
|
||||||
|
# https://docs.nextcloud.com/server/12/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||||
|
transaction-isolation = READ-COMMITTED
|
Loading…
Reference in a new issue