New recipe: Redmine with MariaDB.
This commit is contained in:
29
.recipes/redmine_mariadb/configs/configuration.yml
Normal file
29
.recipes/redmine_mariadb/configs/configuration.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
# = Redmine configuration file
|
||||
# The entrypoint script sets chown 999:999 and chmod 644 to this file.
|
||||
#
|
||||
# Each environment has its own configuration options. If you are only
|
||||
# running in production, only the production block needs to be configured.
|
||||
# Environment specific configuration options override the default ones.
|
||||
#
|
||||
# Note that this file needs to be a valid YAML file.
|
||||
# DO NOT USE TABS! Use 2 spaces instead of tabs for indentation.
|
||||
|
||||
# default configuration options for all environments
|
||||
default:
|
||||
# Outgoing emails configuration
|
||||
# Feel free to setup your local SMTP settings here.
|
||||
email_delivery:
|
||||
delivery_method: :smtp
|
||||
smtp_settings:
|
||||
address: 'host.docker.internal'
|
||||
port: 25
|
||||
enable_starttls_auto: false
|
||||
|
||||
# specific configuration options for production environment
|
||||
# that overrides the default ones
|
||||
production:
|
||||
|
||||
# specific configuration options for development environment
|
||||
# that overrides the default ones
|
||||
development:
|
||||
|
||||
21
.recipes/redmine_mariadb/configs/database.yml
Normal file
21
.recipes/redmine_mariadb/configs/database.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
# = 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"
|
||||
1
.recipes/redmine_mariadb/configs/mysql_conf_d
Symbolic link
1
.recipes/redmine_mariadb/configs/mysql_conf_d
Symbolic link
@@ -0,0 +1 @@
|
||||
../storage/volumes/mysql_conf_d
|
||||
Reference in New Issue
Block a user