Chris@1295
|
1 # = Redmine configuration file
|
Chris@1295
|
2 #
|
Chris@1295
|
3 # Each environment has it's own configuration options. If you are only
|
Chris@1295
|
4 # running in production, only the production block needs to be configured.
|
Chris@1295
|
5 # Environment specific configuration options override the default ones.
|
Chris@1295
|
6 #
|
Chris@1295
|
7 # Note that this file needs to be a valid YAML file.
|
Chris@1295
|
8 # DO NOT USE TABS! Use 2 spaces instead of tabs for identation.
|
Chris@1295
|
9 #
|
Chris@1295
|
10 # == Outgoing email settings (email_delivery setting)
|
Chris@1295
|
11 #
|
Chris@1295
|
12 # === Common configurations
|
Chris@1295
|
13 #
|
Chris@1295
|
14 # ==== Sendmail command
|
Chris@1295
|
15 #
|
Chris@1295
|
16 # production:
|
Chris@1295
|
17 # email_delivery:
|
Chris@1295
|
18 # delivery_method: :sendmail
|
Chris@1295
|
19 #
|
Chris@1295
|
20 # ==== Simple SMTP server at localhost
|
Chris@1295
|
21 #
|
Chris@1295
|
22 # production:
|
Chris@1295
|
23 # email_delivery:
|
Chris@1295
|
24 # delivery_method: :smtp
|
Chris@1295
|
25 # smtp_settings:
|
Chris@1295
|
26 # address: "localhost"
|
Chris@1295
|
27 # port: 25
|
Chris@1295
|
28 #
|
Chris@1295
|
29 # ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com
|
Chris@1295
|
30 #
|
Chris@1295
|
31 # production:
|
Chris@1295
|
32 # email_delivery:
|
Chris@1295
|
33 # delivery_method: :smtp
|
Chris@1295
|
34 # smtp_settings:
|
Chris@1295
|
35 # address: "example.com"
|
Chris@1295
|
36 # port: 25
|
Chris@1295
|
37 # authentication: :login
|
Chris@1295
|
38 # domain: 'foo.com'
|
Chris@1295
|
39 # user_name: 'myaccount'
|
Chris@1295
|
40 # password: 'password'
|
Chris@1295
|
41 #
|
Chris@1295
|
42 # ==== SMTP server at example.com using PLAIN authentication
|
Chris@1295
|
43 #
|
Chris@1295
|
44 # production:
|
Chris@1295
|
45 # email_delivery:
|
Chris@1295
|
46 # delivery_method: :smtp
|
Chris@1295
|
47 # smtp_settings:
|
Chris@1295
|
48 # address: "example.com"
|
Chris@1295
|
49 # port: 25
|
Chris@1295
|
50 # authentication: :plain
|
Chris@1295
|
51 # domain: 'example.com'
|
Chris@1295
|
52 # user_name: 'myaccount'
|
Chris@1295
|
53 # password: 'password'
|
Chris@1295
|
54 #
|
Chris@1295
|
55 # ==== SMTP server at using TLS (GMail)
|
Chris@1295
|
56 #
|
Chris@1295
|
57 # This might require some additional configuration. See the guides at:
|
Chris@1295
|
58 # http://www.redmine.org/projects/redmine/wiki/EmailConfiguration
|
Chris@1295
|
59 #
|
Chris@1295
|
60 # production:
|
Chris@1295
|
61 # email_delivery:
|
Chris@1295
|
62 # delivery_method: :smtp
|
Chris@1295
|
63 # smtp_settings:
|
Chris@1295
|
64 # enable_starttls_auto: true
|
Chris@1295
|
65 # address: "smtp.gmail.com"
|
Chris@1295
|
66 # port: 587
|
Chris@1295
|
67 # domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps
|
Chris@1295
|
68 # authentication: :plain
|
Chris@1295
|
69 # user_name: "your_email@gmail.com"
|
Chris@1295
|
70 # password: "your_password"
|
Chris@1295
|
71 #
|
Chris@1295
|
72 #
|
Chris@1295
|
73 # === More configuration options
|
Chris@1295
|
74 #
|
Chris@1295
|
75 # See the "Configuration options" at the following website for a list of the
|
Chris@1295
|
76 # full options allowed:
|
Chris@1295
|
77 #
|
Chris@1295
|
78 # http://wiki.rubyonrails.org/rails/pages/HowToSendEmailsWithActionMailer
|
Chris@1295
|
79
|
Chris@1295
|
80
|
Chris@1295
|
81 # default configuration options for all environments
|
Chris@1295
|
82 default:
|
Chris@1295
|
83 # Outgoing emails configuration (see examples above)
|
Chris@1295
|
84 email_delivery:
|
Chris@1295
|
85 delivery_method: :smtp
|
Chris@1295
|
86 smtp_settings:
|
Chris@1295
|
87 address: smtp.example.net
|
Chris@1295
|
88 port: 25
|
Chris@1295
|
89 domain: example.net
|
Chris@1295
|
90 authentication: :login
|
Chris@1295
|
91 user_name: "redmine@example.net"
|
Chris@1295
|
92 password: "redmine"
|
Chris@1295
|
93
|
Chris@1295
|
94 # Absolute path to the directory where attachments are stored.
|
Chris@1295
|
95 # The default is the 'files' directory in your Redmine instance.
|
Chris@1295
|
96 # Your Redmine instance needs to have write permission on this
|
Chris@1295
|
97 # directory.
|
Chris@1295
|
98 # Examples:
|
Chris@1295
|
99 # attachments_storage_path: /var/redmine/files
|
Chris@1295
|
100 # attachments_storage_path: D:/redmine/files
|
Chris@1295
|
101 attachments_storage_path:
|
Chris@1295
|
102
|
Chris@1295
|
103 # Configuration of the autologin cookie.
|
Chris@1295
|
104 # autologin_cookie_name: the name of the cookie (default: autologin)
|
Chris@1295
|
105 # autologin_cookie_path: the cookie path (default: /)
|
Chris@1295
|
106 # autologin_cookie_secure: true sets the cookie secure flag (default: false)
|
Chris@1295
|
107 autologin_cookie_name:
|
Chris@1295
|
108 autologin_cookie_path:
|
Chris@1295
|
109 autologin_cookie_secure:
|
Chris@1295
|
110
|
Chris@1295
|
111 # Configuration of SCM executable command.
|
Chris@1295
|
112 #
|
Chris@1295
|
113 # Absolute path (e.g. /usr/local/bin/hg) or command name (e.g. hg.exe, bzr.exe)
|
Chris@1295
|
114 # On Windows + CRuby, *.cmd, *.bat (e.g. hg.cmd, bzr.bat) does not work.
|
Chris@1295
|
115 #
|
Chris@1295
|
116 # On Windows + JRuby 1.6.2, path which contains spaces does not work.
|
Chris@1295
|
117 # For example, "C:\Program Files\TortoiseHg\hg.exe".
|
Chris@1295
|
118 # If you want to this feature, you need to install to the path which does not contains spaces.
|
Chris@1295
|
119 # For example, "C:\TortoiseHg\hg.exe".
|
Chris@1295
|
120 #
|
Chris@1295
|
121 # Examples:
|
Chris@1295
|
122 # scm_subversion_command: svn # (default: svn)
|
Chris@1295
|
123 # scm_mercurial_command: C:\Program Files\TortoiseHg\hg.exe # (default: hg)
|
Chris@1295
|
124 # scm_git_command: /usr/local/bin/git # (default: git)
|
Chris@1295
|
125 # scm_cvs_command: cvs # (default: cvs)
|
Chris@1295
|
126 # scm_bazaar_command: bzr.exe # (default: bzr)
|
Chris@1295
|
127 # scm_darcs_command: darcs-1.0.9-i386-linux # (default: darcs)
|
Chris@1295
|
128 #
|
Chris@1295
|
129 scm_subversion_command:
|
Chris@1295
|
130 scm_mercurial_command:
|
Chris@1295
|
131 scm_git_command:
|
Chris@1295
|
132 scm_cvs_command:
|
Chris@1295
|
133 scm_bazaar_command:
|
Chris@1295
|
134 scm_darcs_command:
|
Chris@1295
|
135
|
Chris@1295
|
136 # Absolute path to the SCM commands errors (stderr) log file.
|
Chris@1295
|
137 # The default is to log in the 'log' directory of your Redmine instance.
|
Chris@1295
|
138 # Example:
|
Chris@1295
|
139 # scm_stderr_log_file: /var/log/redmine_scm_stderr.log
|
Chris@1295
|
140 scm_stderr_log_file:
|
Chris@1295
|
141
|
Chris@1295
|
142 # Key used to encrypt sensitive data in the database (SCM and LDAP passwords).
|
Chris@1295
|
143 # If you don't want to enable data encryption, just leave it blank.
|
Chris@1295
|
144 # WARNING: losing/changing this key will make encrypted data unreadable.
|
Chris@1295
|
145 #
|
Chris@1295
|
146 # If you want to encrypt existing passwords in your database:
|
Chris@1295
|
147 # * set the cipher key here in your configuration file
|
Chris@1295
|
148 # * encrypt data using 'rake db:encrypt RAILS_ENV=production'
|
Chris@1295
|
149 #
|
Chris@1295
|
150 # If you have encrypted data and want to change this key, you have to:
|
Chris@1295
|
151 # * decrypt data using 'rake db:decrypt RAILS_ENV=production' first
|
Chris@1295
|
152 # * change the cipher key here in your configuration file
|
Chris@1295
|
153 # * encrypt data using 'rake db:encrypt RAILS_ENV=production'
|
Chris@1295
|
154 database_cipher_key:
|
Chris@1295
|
155
|
Chris@1295
|
156 # Set this to false to disable plugins' assets mirroring on startup.
|
Chris@1295
|
157 # You can use `rake redmine:plugins:assets` to manually mirror assets
|
Chris@1295
|
158 # to public/plugin_assets when you install/upgrade a Redmine plugin.
|
Chris@1295
|
159 #
|
Chris@1295
|
160 #mirror_plugins_assets_on_startup: false
|
Chris@1295
|
161
|
Chris@1295
|
162 # Your secret key for verifying cookie session data integrity. If you
|
Chris@1295
|
163 # change this key, all old sessions will become invalid! Make sure the
|
Chris@1295
|
164 # secret is at least 30 characters and all random, no regular words or
|
Chris@1295
|
165 # you'll be exposed to dictionary attacks.
|
Chris@1295
|
166 #
|
Chris@1295
|
167 # If you have a load-balancing Redmine cluster, you have to use the
|
Chris@1295
|
168 # same secret token on each machine.
|
Chris@1295
|
169 #secret_token: 'change it to a long random string'
|
Chris@1295
|
170
|
Chris@1295
|
171 # Absolute path (e.g. /usr/bin/convert, c:/im/convert.exe) to
|
Chris@1295
|
172 # the ImageMagick's `convert` binary. Used to generate attachment thumbnails.
|
Chris@1295
|
173 #imagemagick_convert_command:
|
Chris@1295
|
174
|
Chris@1295
|
175 # Configuration of RMagcik font.
|
Chris@1295
|
176 #
|
Chris@1295
|
177 # Redmine uses RMagcik in order to export gantt png.
|
Chris@1295
|
178 # You don't need this setting if you don't install RMagcik.
|
Chris@1295
|
179 #
|
Chris@1295
|
180 # In CJK (Chinese, Japanese and Korean),
|
Chris@1295
|
181 # in order to show CJK characters correctly,
|
Chris@1295
|
182 # you need to set this configuration.
|
Chris@1295
|
183 #
|
Chris@1295
|
184 # Because there is no standard font across platforms in CJK,
|
Chris@1295
|
185 # you need to set a font installed in your server.
|
Chris@1295
|
186 #
|
Chris@1295
|
187 # This setting is not necessary in non CJK.
|
Chris@1295
|
188 #
|
Chris@1295
|
189 # Examples for Japanese:
|
Chris@1295
|
190 # Windows:
|
Chris@1295
|
191 # rmagick_font_path: C:\windows\fonts\msgothic.ttc
|
Chris@1295
|
192 # Linux:
|
Chris@1295
|
193 # rmagick_font_path: /usr/share/fonts/ipa-mincho/ipam.ttf
|
Chris@1295
|
194 #
|
Chris@1295
|
195 rmagick_font_path:
|
Chris@1295
|
196
|
Chris@1295
|
197 # Maximum number of simultaneous AJAX uploads
|
Chris@1295
|
198 #max_concurrent_ajax_uploads: 2
|
Chris@1295
|
199
|
Chris@1295
|
200 # specific configuration options for production environment
|
Chris@1295
|
201 # that overrides the default ones
|
Chris@1295
|
202 production:
|
Chris@1295
|
203
|
Chris@1295
|
204 # specific configuration options for development environment
|
Chris@1295
|
205 # that overrides the default ones
|
Chris@1295
|
206 development:
|