2
0
Files

22 lines
797 B
YAML

# = Redmine database configuration file
# The entrypoint script sets chown 999:999 and chmod 644 to this file.
#
# Note that this file needs to be a valid YAML file.
# DO NOT USE TABS! Use 2 spaces instead of tabs for indentation.
production:
adapter: mysql2
database: redmine
host: database
username: redmine
# It should be the same as in the docker-compose.yml file.
password: "secret-1"
# Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
encoding: utf8mb4
variables:
# Recommended `transaction_isolation` for MySQL to avoid concurrency issues is
# `READ-COMMITTED`.
# In case of MySQL lower than 8, the variable name is `tx_isolation`.
# See https://www.redmine.org/projects/redmine/wiki/MySQL_configuration
transaction_isolation: "READ-COMMITTED"