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