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