Skip to content

Commit

Permalink
docker-compose: mysql/mariadb: Set transaction-isolation settings to …
Browse files Browse the repository at this point in the history
  • Loading branch information
jcormier committed Jan 15, 2024
1 parent 6056945 commit 650986e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose-mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ./
Expand Down
2 changes: 2 additions & 0 deletions docker-compose-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ./
Expand Down

0 comments on commit 650986e

Please sign in to comment.