diff --git a/docker-compose-mariadb.yml b/docker-compose-mariadb.yml index 9309b2da..a425d148 100644 --- a/docker-compose-mariadb.yml +++ b/docker-compose-mariadb.yml @@ -10,6 +10,8 @@ services: - MARIADB_RANDOM_ROOT_PASSWORD=1 volumes: - /srv/docker/redmine/mariadb:/var/lib/mysql + # https://www.redmine.org/projects/redmine/wiki/MySQL_configuration + command: mysqld --transaction-isolation=READ-COMMITTED redmine: build: ./ diff --git a/docker-compose-mysql.yml b/docker-compose-mysql.yml index 1860d483..eadddb51 100644 --- a/docker-compose-mysql.yml +++ b/docker-compose-mysql.yml @@ -9,6 +9,8 @@ services: - DB_NAME=redmine_production volumes: - /srv/docker/redmine/mysql:/var/lib/mysql + # https://www.redmine.org/projects/redmine/wiki/MySQL_configuration + command: --transaction-isolation=READ-COMMITTED redmine: build: ./