Project

General

Profile

Defect #39931 » Redmine configuration yml file.txt

Vugar Maharramov, 2023-12-23 19:41

 
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

    
17
  # ==== Simple SMTP server at localhost
18
  #
19
  #  email_delivery:
20
  #    delivery_method: :smtp
21
  #    smtp_settings:
22
  #      address: "localhost"
23
  #      port: 25
24
  #
25
  # ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com
26
  #
27
  #  email_delivery:
28
  #    delivery_method: :smtp
29
  #    smtp_settings:
30
  #      address: "example.com"
31
  #      port: 25
32
  #      authentication: :login
33
  #      domain: 'foo.com'
34
  #      user_name: 'myaccount'
35
  #      password: 'password'
36
  #
37
  # ==== SMTP server at example.com using PLAIN authentication
38
  #
39
  #  email_delivery:
40
  #    delivery_method: :smtp
41
  #    smtp_settings:
42
  #      address: "example.com"
43
  #      port: 25
44
  #      authentication: :plain
45
  #      domain: 'example.com'
46
  #      user_name: 'myaccount'
47
  #      password: 'password'
48
  #
49
  # ==== SMTP server at using TLS (GMail)
50
  # This might require some additional configuration. See the guides at:
51
  # http://www.redmine.org/projects/redmine/wiki/EmailConfiguration
52
  #
53
  #  email_delivery:
54
  #    delivery_method: :smtp
55
  #    smtp_settings:
56
  #      enable_starttls_auto: true
57
  #      address: "smtp.gmail.com"
58
  #      port: 587
59
  #      domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps
60
  #      authentication: :plain
61
  #      user_name: "your_email@gmail.com"
62
  #      password: "your_password"
63
  #
64
  # ==== Sendmail command
65
  #
66
  #  email_delivery:
67
  #    delivery_method: :sendmail
68

    
69
  # Absolute path to the directory where attachments are stored.
70
  # The default is the 'files' directory in your Redmine instance.
71
  # Your Redmine instance needs to have write permission on this
72
  # directory.
73
  # Examples:
74
  # attachments_storage_path: /var/redmine/files
75
  # attachments_storage_path: D:/redmine/files
76
  attachments_storage_path:
77

    
78
  # Configuration of the autologin cookie.
79
  # autologin_cookie_name: the name of the cookie (default: autologin)
80
  # autologin_cookie_path: the cookie path (default: /)
81
  # autologin_cookie_secure: true sets the cookie secure flag (default: false)
82
  autologin_cookie_name:
83
  autologin_cookie_path:
84
  autologin_cookie_secure:
85

    
86
  # Configuration of SCM executable command.
87
  #
88
  # Absolute path (e.g. /usr/local/bin/hg) or command name (e.g. hg.exe, bzr.exe)
89
  # On Windows + CRuby, *.cmd, *.bat (e.g. hg.cmd, bzr.bat) does not work.
90
  #
91
  # On Windows + JRuby 1.6.2, path which contains spaces does not work.
92
  # For example, "C:\Program Files\TortoiseHg\hg.exe".
93
  # If you want to this feature, you need to install to the path which does not contains spaces.
94
  # For example, "C:\TortoiseHg\hg.exe".
95
  #
96
  # Examples:
97
  # scm_subversion_command: svn                                       # (default: svn)
98
  # scm_mercurial_command:  C:\Program Files\TortoiseHg\hg.exe        # (default: hg)
99
  # scm_git_command:        /usr/local/bin/git                        # (default: git)
100
  # scm_cvs_command:        cvs                                       # (default: cvs)
101
  # scm_bazaar_command:     bzr.exe                                   # (default: bzr)
102
  #
103
  scm_subversion_command:
104
  scm_mercurial_command:
105
  scm_git_command:
106
  scm_cvs_command:
107
  scm_bazaar_command:
108

    
109
  # SCM paths validation.
110
  #
111
  # You can configure a regular expression for each SCM that will be used to
112
  # validate the path of new repositories (eg. path entered by users with the
113
  # "Manage repositories" permission and path returned by reposman.rb).
114
  # The regexp will be wrapped with \A \z, so it must match the whole path.
115
  # And the regexp is case sensitive.
116
  #
117
  # You can match the project identifier by using %project% in the regexp.
118
  #
119
  # You can also set a custom hint message for each SCM that will be displayed
120
  # on the repository form instead of the default one.
121
  #
122
  # Examples:
123
  # scm_subversion_path_regexp: file:///svnpath/[a-z0-9_]+
124
  # scm_subversion_path_info: SVN URL (eg. file:///svnpath/foo)
125
  #
126
  # scm_git_path_regexp: /gitpath/%project%(\.[a-z0-9_])?/
127
  #
128
  scm_subversion_path_regexp:
129
  scm_mercurial_path_regexp:
130
  scm_git_path_regexp:
131
  scm_cvs_path_regexp:
132
  scm_bazaar_path_regexp:
133
  scm_filesystem_path_regexp:
134

    
135
  # Absolute path to the SCM commands errors (stderr) log file.
136
  # The default is to log in the 'log' directory of your Redmine instance.
137
  # Example:
138
  # scm_stderr_log_file: /var/log/redmine_scm_stderr.log
139
  scm_stderr_log_file:
140

    
141
  # Key used to encrypt sensitive data in the database (SCM passwords,
142
  # LDAP passwords, and TOTP (two-factor authentication) secret keys).
143
  # If you don't want to enable data encryption, just leave it blank.
144
  # WARNING: losing/changing this key will make encrypted data unreadable.
145
  #
146
  # If you want to encrypt existing data in your database:
147
  # * set the cipher key here in your configuration file
148
  # * encrypt data using 'rake db:encrypt RAILS_ENV=production'
149
  #
150
  # If you have encrypted data and want to change this key, you have to:
151
  # * decrypt data using 'rake db:decrypt RAILS_ENV=production' first
152
  # * change the cipher key here in your configuration file
153
  # * encrypt data using 'rake db:encrypt RAILS_ENV=production'
154
  database_cipher_key:
155

    
156
  # Set this to false to disable plugins' assets mirroring on startup.
157
  # You can use `rake redmine:plugins:assets` to manually mirror assets
158
  # to public/plugin_assets when you install/upgrade a Redmine plugin.
159
  #
160
  #mirror_plugins_assets_on_startup: false
161

    
162
  # Your secret key for verifying cookie session data integrity. If you
163
  # change this key, all old sessions will become invalid! Make sure the
164
  # secret is at least 30 characters and all random, no regular words or
165
  # you'll be exposed to dictionary attacks.
166
  #
167
  # If you have a load-balancing Redmine cluster, you have to use the
168
  # same secret token on each machine.
169
  #secret_token: 'change it to a long random string'
170

    
171
  # Requires users to re-enter their password for sensitive actions (editing
172
  # of account data, project memberships, application settings, user, group,
173
  # role, auth source management and project deletion). Disabled by default.
174
  # Timeout is set in minutes.
175
  #
176
  #sudo_mode: true
177
  #sudo_mode_timeout: 15
178

    
179
  # Absolute path (e.g. /usr/bin/convert, c:/im/convert.exe) to
180
  # the ImageMagick's `convert` binary. Used to generate attachment thumbnails.
181
  #imagemagick_convert_command:
182

    
183
  # Absolute path (e.g. /usr/bin/gs, c:/ghostscript/gswin64c.exe) to
184
  # the `gs` binary. Used to generate attachment thumbnails of PDF files.
185
  #gs_command:
186

    
187
  # Configuration of MiniMagick font.
188
  #
189
  # Redmine uses MiniMagick in order to export a gantt chart to a PNG image.
190
  # This setting is necessary to properly display CJK (Chinese, Japanese,
191
  # and Korean) characters in the PNG image. Please make sure that the
192
  # specified font is installed in the Redmine server.
193
  #
194
  # This setting is necessary only when CJK characters are used in gantt.
195
  #
196
  # Note that rmagick_font_path in prior to Redmine 4.1.0 has been renamed
197
  # to minimagick_font_path.
198
  #
199
  # Examples for Japanese:
200
  #   Windows:
201
  #     minimagick_font_path: C:\windows\fonts\msgothic.ttc
202
  #   Linux:
203
  #     minimagick_font_path: /usr/share/fonts/ipa-mincho/ipam.ttf
204
  #
205
  minimagick_font_path:
206

    
207
  # Maximum number of simultaneous AJAX uploads
208
  #max_concurrent_ajax_uploads: 2
209

    
210
  # URL of the avatar server
211
  #
212
  # By default, Redmine uses Gravatar as the avatar server for displaying
213
  # user icons. You can switch to another Gravatar-compatible server such
214
  # as Libravatar and opensource servers listed on
215
  # https://wiki.libravatar.org/running_your_own/
216
  #
217
  # URL of each avatar is: #{avatar_server_url}/avatar/#{hash}
218
  #
219
  #avatar_server_url: https://www.gravatar.com        # default
220
  #avatar_server_url: https://seccdn.libravatar.org
221

    
222
  # Configure CommonMark hardbreaks behaviour
223
  #
224
  # allowed values: true, false
225
  # true: treats regular line break (\n) as hardbreaks
226
  # false: switches to default common mark where two or more spaces are required
227
  # common_mark_enable_hardbreaks: true
228

    
229
# specific configuration options for production environment
230
# that overrides the default ones
231
production:
232
  email_delivery:
233
    delivery_method: :smtp
234
    smtp_settings:
235
      address: 123.123.123.1
236
      port: 587
237
      domain: domain.com
238
      authentication: :login
239
      user_name: user@domain.com
240
      password: mypassw0rdiscorrect
241
      enable_starttls_auto: true
242

    
243
# specific configuration options for development environment
244
# that overrides the default ones
245
development:
246
#  delivery_method: :smtp
247
#  smtp_settings:
248
#    address: 127.0.0.1
249
#    port: 578
250
#    domain: domain.com
251
#    authentication: :login
252
#    user_name: user@domain.com
253
#    password: mypassw0rdiscorrect
(1-1/5)