1
|
# = Redmine configuration file
|
2
|
#
|
3
|
# Each environment has its own configuration options. If you are only
|
4
|
# running in production, only the production block needs to be configured.
|
5
|
# Environment specific configuration options override the default ones.
|
6
|
#
|
7
|
# Note that this file needs to be a valid YAML file.
|
8
|
# DO NOT USE TABS! Use 2 spaces instead of tabs for indentation.
|
9
|
|
10
|
# default configuration options for all environments
|
11
|
default:
|
12
|
# Outgoing emails configuration
|
13
|
# See the examples below and the Rails guide for more configuration options:
|
14
|
# http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration
|
15
|
email_delivery:
|
16
|
delivery_method: :smtp
|
17
|
smtp_settings:
|
18
|
|
19
|
address: smtp.gmail.com
|
20
|
port: 587
|
21
|
domain: gmail.com
|
22
|
authentication: :login
|
23
|
user_name: xxx@gmail.com
|
24
|
password: xxxxxxxxx
|
25
|
|
26
|
|
27
|
# ==== Simple SMTP server at localhost
|
28
|
#
|
29
|
# email_delivery:
|
30
|
# delivery_method: :smtp
|
31
|
# smtp_settings:
|
32
|
# address: "localhost"
|
33
|
# port: 25
|
34
|
#
|
35
|
# ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com
|
36
|
#
|
37
|
# email_delivery:
|
38
|
# delivery_method: :smtp
|
39
|
# smtp_settings:
|
40
|
# address: "example.com"
|
41
|
# port: 25
|
42
|
# authentication: :login
|
43
|
# domain: 'foo.com'
|
44
|
# user_name: 'myaccount'
|
45
|
# password: 'password'
|
46
|
#
|
47
|
# ==== SMTP server at example.com using PLAIN authentication
|
48
|
#
|
49
|
# email_delivery:
|
50
|
# delivery_method: :smtp
|
51
|
# smtp_settings:
|
52
|
# address: "example.com"
|
53
|
# port: 25
|
54
|
# authentication: :plain
|
55
|
# domain: 'example.com'
|
56
|
# user_name: 'myaccount'
|
57
|
# password: 'password'
|
58
|
#
|
59
|
# ==== SMTP server at using TLS (GMail)
|
60
|
# This might require some additional configuration. See the guides at:
|
61
|
# http://www.redmine.org/projects/redmine/wiki/EmailConfiguration
|
62
|
#
|
63
|
# email_delivery:
|
64
|
# delivery_method: :smtp
|
65
|
# smtp_settings:
|
66
|
# enable_starttls_auto: true
|
67
|
# address: "smtp.gmail.com"
|
68
|
# port: 587
|
69
|
# domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps
|
70
|
# authentication: :plain
|
71
|
# user_name: "your_email@gmail.com"
|
72
|
# password: "your_password"
|
73
|
#
|
74
|
# ==== Sendmail command
|
75
|
#
|
76
|
# email_delivery:
|
77
|
# delivery_method: :sendmail
|
78
|
|
79
|
# Absolute path to the directory where attachments are stored.
|
80
|
# The default is the 'files' directory in your Redmine instance.
|
81
|
# Your Redmine instance needs to have write permission on this
|
82
|
# directory.
|
83
|
# Examples:
|
84
|
# attachments_storage_path: /var/redmine/files
|
85
|
# attachments_storage_path: D:/redmine/files
|
86
|
attachments_storage_path:
|
87
|
|
88
|
# Configuration of the autologin cookie.
|
89
|
# autologin_cookie_name: the name of the cookie (default: autologin)
|
90
|
# autologin_cookie_path: the cookie path (default: /)
|
91
|
# autologin_cookie_secure: true sets the cookie secure flag (default: false)
|
92
|
autologin_cookie_name:
|
93
|
autologin_cookie_path:
|
94
|
autologin_cookie_secure:
|
95
|
|
96
|
# Configuration of SCM executable command.
|
97
|
#
|
98
|
# Absolute path (e.g. /usr/local/bin/hg) or command name (e.g. hg.exe, bzr.exe)
|
99
|
# On Windows + CRuby, *.cmd, *.bat (e.g. hg.cmd, bzr.bat) does not work.
|
100
|
#
|
101
|
# On Windows + JRuby 1.6.2, path which contains spaces does not work.
|
102
|
# For example, "C:\Program Files\TortoiseHg\hg.exe".
|
103
|
# If you want to this feature, you need to install to the path which does not contains spaces.
|
104
|
# For example, "C:\TortoiseHg\hg.exe".
|
105
|
#
|
106
|
# Examples:
|
107
|
# scm_subversion_command: svn # (default: svn)
|
108
|
# scm_mercurial_command: C:\Program Files\TortoiseHg\hg.exe # (default: hg)
|
109
|
# scm_git_command: /usr/local/bin/git # (default: git)
|
110
|
# scm_cvs_command: cvs # (default: cvs)
|
111
|
# scm_bazaar_command: bzr.exe # (default: bzr)
|
112
|
#
|
113
|
scm_subversion_command:
|
114
|
scm_mercurial_command:
|
115
|
scm_git_command:
|
116
|
scm_cvs_command:
|
117
|
scm_bazaar_command:
|
118
|
|
119
|
# SCM paths validation.
|
120
|
#
|
121
|
# You can configure a regular expression for each SCM that will be used to
|
122
|
# validate the path of new repositories (eg. path entered by users with the
|
123
|
# "Manage repositories" permission and path returned by reposman.rb).
|
124
|
# The regexp will be wrapped with \A \z, so it must match the whole path.
|
125
|
# And the regexp is case sensitive.
|
126
|
#
|
127
|
# You can match the project identifier by using %project% in the regexp.
|
128
|
#
|
129
|
# You can also set a custom hint message for each SCM that will be displayed
|
130
|
# on the repository form instead of the default one.
|
131
|
#
|
132
|
# Examples:
|
133
|
# scm_subversion_path_regexp: file:///svnpath/[a-z0-9_]+
|
134
|
# scm_subversion_path_info: SVN URL (eg. file:///svnpath/foo)
|
135
|
#
|
136
|
# scm_git_path_regexp: /gitpath/%project%(\.[a-z0-9_])?/
|
137
|
#
|
138
|
scm_subversion_path_regexp:
|
139
|
scm_mercurial_path_regexp:
|
140
|
scm_git_path_regexp:
|
141
|
scm_cvs_path_regexp:
|
142
|
scm_bazaar_path_regexp:
|
143
|
scm_filesystem_path_regexp:
|
144
|
|
145
|
# Absolute path to the SCM commands errors (stderr) log file.
|
146
|
# The default is to log in the 'log' directory of your Redmine instance.
|
147
|
# Example:
|
148
|
# scm_stderr_log_file: /var/log/redmine_scm_stderr.log
|
149
|
scm_stderr_log_file:
|
150
|
|
151
|
# Key used to encrypt sensitive data in the database (SCM passwords,
|
152
|
# LDAP passwords, and TOTP (two-factor authentication) secret keys).
|
153
|
# If you don't want to enable data encryption, just leave it blank.
|
154
|
# WARNING: losing/changing this key will make encrypted data unreadable.
|
155
|
#
|
156
|
# If you want to encrypt existing data in your database:
|
157
|
# * set the cipher key here in your configuration file
|
158
|
# * encrypt data using 'rake db:encrypt RAILS_ENV=production'
|
159
|
#
|
160
|
# If you have encrypted data and want to change this key, you have to:
|
161
|
# * decrypt data using 'rake db:decrypt RAILS_ENV=production' first
|
162
|
# * change the cipher key here in your configuration file
|
163
|
# * encrypt data using 'rake db:encrypt RAILS_ENV=production'
|
164
|
database_cipher_key:
|
165
|
|
166
|
# Set this to false to disable plugins' assets mirroring on startup.
|
167
|
# You can use `rake redmine:plugins:assets` to manually mirror assets
|
168
|
# to public/plugin_assets when you install/upgrade a Redmine plugin.
|
169
|
#
|
170
|
#mirror_plugins_assets_on_startup: false
|
171
|
|
172
|
# Your secret key for verifying cookie session data integrity. If you
|
173
|
# change this key, all old sessions will become invalid! Make sure the
|
174
|
# secret is at least 30 characters and all random, no regular words or
|
175
|
# you'll be exposed to dictionary attacks.
|
176
|
#
|
177
|
# If you have a load-balancing Redmine cluster, you have to use the
|
178
|
# same secret token on each machine.
|
179
|
#secret_token: 'change it to a long random string'
|
180
|
|
181
|
# Requires users to re-enter their password for sensitive actions (editing
|
182
|
# of account data, project memberships, application settings, user, group,
|
183
|
# role, auth source management and project deletion). Disabled by default.
|
184
|
# Timeout is set in minutes.
|
185
|
#
|
186
|
#sudo_mode: true
|
187
|
#sudo_mode_timeout: 15
|
188
|
|
189
|
# Absolute path (e.g. /usr/bin/convert, c:/im/convert.exe) to
|
190
|
# the ImageMagick's `convert` binary. Used to generate attachment thumbnails.
|
191
|
imagemagick_convert_command: 'C:\Bitnami\redmine-5.0.2-2/imagemagick/bin/convert.exe'
|
192
|
|
193
|
# Absolute path (e.g. /usr/bin/gs, c:/ghostscript/gswin64c.exe) to
|
194
|
# the `gs` binary. Used to generate attachment thumbnails of PDF files.
|
195
|
#gs_command:
|
196
|
|
197
|
# Configuration of MiniMagick font.
|
198
|
#
|
199
|
# Redmine uses MiniMagick in order to export a gantt chart to a PNG image.
|
200
|
# This setting is necessary to properly display CJK (Chinese, Japanese,
|
201
|
# and Korean) characters in the PNG image. Please make sure that the
|
202
|
# specified font is installed in the Redmine server.
|
203
|
#
|
204
|
# This setting is necessary only when CJK characters are used in gantt.
|
205
|
#
|
206
|
# Note that rmagick_font_path in prior to Redmine 4.1.0 has been renamed
|
207
|
# to minimagick_font_path.
|
208
|
#
|
209
|
# Examples for Japanese:
|
210
|
# Windows:
|
211
|
# minimagick_font_path: C:\windows\fonts\msgothic.ttc
|
212
|
# Linux:
|
213
|
# minimagick_font_path: /usr/share/fonts/ipa-mincho/ipam.ttf
|
214
|
#
|
215
|
minimagick_font_path:
|
216
|
|
217
|
# Maximum number of simultaneous AJAX uploads
|
218
|
#max_concurrent_ajax_uploads: 2
|
219
|
|
220
|
# URL of the avatar server
|
221
|
#
|
222
|
# By default, Redmine uses Gravatar as the avatar server for displaying
|
223
|
# user icons. You can switch to another Gravatar-compatible server such
|
224
|
# as Libravatar and opensource servers listed on
|
225
|
# https://wiki.libravatar.org/running_your_own/
|
226
|
#
|
227
|
# URL of each avatar is: #{avatar_server_url}/avatar/#{hash}
|
228
|
#
|
229
|
#avatar_server_url: https://www.gravatar.com # default
|
230
|
#avatar_server_url: https://seccdn.libravatar.org
|
231
|
|
232
|
# Configure CommonMark hardbreaks behaviour
|
233
|
#
|
234
|
# allowed values: true, false
|
235
|
# true: treats regular line break (\n) as hardbreaks
|
236
|
# false: switches to default common mark where two or more spaces are required
|
237
|
# common_mark_enable_hardbreaks: true
|
238
|
|
239
|
# specific configuration options for production environment
|
240
|
# that overrides the default ones
|
241
|
production:
|
242
|
|
243
|
# specific configuration options for development environment
|
244
|
# that overrides the default ones
|
245
|
development:
|