Chris@210
|
1 # = Redmine configuration file
|
Chris@210
|
2 #
|
Chris@210
|
3 # Each environment has it's own configuration options. If you are only
|
Chris@210
|
4 # running in production, only the production block needs to be configured.
|
Chris@210
|
5 # Environment specific configuration options override the default ones.
|
Chris@210
|
6 #
|
Chris@210
|
7 # Note that this file needs to be a valid YAML file.
|
Chris@210
|
8 #
|
Chris@210
|
9 # == Outgoing email settings (email_delivery setting)
|
Chris@210
|
10 #
|
Chris@210
|
11 # === Common configurations
|
Chris@210
|
12 #
|
Chris@210
|
13 # ==== Sendmail command
|
Chris@210
|
14 #
|
Chris@210
|
15 # production:
|
Chris@210
|
16 # email_delivery:
|
Chris@210
|
17 # delivery_method: :sendmail
|
Chris@210
|
18 #
|
Chris@210
|
19 # ==== Simple SMTP server at localhost
|
Chris@210
|
20 #
|
Chris@210
|
21 # production:
|
Chris@210
|
22 # email_delivery:
|
Chris@210
|
23 # delivery_method: :smtp
|
Chris@210
|
24 # smtp_settings:
|
Chris@210
|
25 # address: "localhost"
|
Chris@210
|
26 # port: 25
|
Chris@210
|
27 #
|
Chris@210
|
28 # ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com
|
Chris@210
|
29 #
|
Chris@210
|
30 # production:
|
Chris@210
|
31 # email_delivery:
|
Chris@210
|
32 # delivery_method: :smtp
|
Chris@210
|
33 # smtp_settings:
|
Chris@210
|
34 # address: "example.com"
|
Chris@210
|
35 # port: 25
|
Chris@210
|
36 # authentication: :login
|
Chris@210
|
37 # domain: 'foo.com'
|
Chris@210
|
38 # user_name: 'myaccount'
|
Chris@210
|
39 # password: 'password'
|
Chris@210
|
40 #
|
Chris@210
|
41 # ==== SMTP server at example.com using PLAIN authentication
|
Chris@210
|
42 #
|
Chris@210
|
43 # production:
|
Chris@210
|
44 # email_delivery:
|
Chris@210
|
45 # delivery_method: :smtp
|
Chris@210
|
46 # smtp_settings:
|
Chris@210
|
47 # address: "example.com"
|
Chris@210
|
48 # port: 25
|
Chris@210
|
49 # authentication: :plain
|
Chris@210
|
50 # domain: 'example.com'
|
Chris@210
|
51 # user_name: 'myaccount'
|
Chris@210
|
52 # password: 'password'
|
Chris@210
|
53 #
|
Chris@210
|
54 # ==== SMTP server at using TLS (GMail)
|
Chris@210
|
55 #
|
Chris@210
|
56 # This requires some additional configuration. See the article at:
|
Chris@210
|
57 # http://redmineblog.com/articles/setup-redmine-to-send-email-using-gmail/
|
Chris@210
|
58 #
|
Chris@210
|
59 # production:
|
Chris@210
|
60 # email_delivery:
|
Chris@210
|
61 # delivery_method: :smtp
|
Chris@210
|
62 # smtp_settings:
|
Chris@210
|
63 # tls: true
|
Chris@210
|
64 # address: "smtp.gmail.com"
|
Chris@210
|
65 # port: 587
|
Chris@210
|
66 # domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps
|
Chris@210
|
67 # authentication: :plain
|
Chris@210
|
68 # user_name: "your_email@gmail.com"
|
Chris@210
|
69 # password: "your_password"
|
Chris@210
|
70 #
|
Chris@210
|
71 #
|
Chris@210
|
72 # === More configuration options
|
Chris@210
|
73 #
|
Chris@210
|
74 # See the "Configuration options" at the following website for a list of the
|
Chris@210
|
75 # full options allowed:
|
Chris@210
|
76 #
|
Chris@210
|
77 # http://wiki.rubyonrails.org/rails/pages/HowToSendEmailsWithActionMailer
|
Chris@210
|
78
|
Chris@210
|
79
|
Chris@210
|
80 # default configuration options for all environments
|
Chris@210
|
81 default:
|
Chris@210
|
82 # Outgoing emails configuration (see examples above)
|
Chris@210
|
83 email_delivery:
|
Chris@210
|
84 delivery_method: :smtp
|
Chris@210
|
85 smtp_settings:
|
Chris@210
|
86 address: smtp.example.net
|
Chris@210
|
87 port: 25
|
Chris@210
|
88 domain: example.net
|
Chris@210
|
89 authentication: :login
|
Chris@210
|
90 user_name: "redmine@example.net"
|
Chris@210
|
91 password: "redmine"
|
Chris@210
|
92
|
Chris@210
|
93 # Absolute path to the directory where attachments are stored.
|
Chris@210
|
94 # The default is the 'files' directory in your Redmine instance.
|
Chris@210
|
95 # Your Redmine instance needs to have write permission on this
|
Chris@210
|
96 # directory.
|
Chris@210
|
97 # Examples:
|
Chris@210
|
98 # attachments_storage_path: /var/redmine/files
|
Chris@210
|
99 # attachments_storage_path: D:/redmine/files
|
Chris@210
|
100 attachments_storage_path:
|
Chris@210
|
101
|
Chris@210
|
102 # Configuration of the autologin cookie.
|
Chris@210
|
103 # autologin_cookie_name: the name of the cookie (default: autologin)
|
Chris@210
|
104 # autologin_cookie_path: the cookie path (default: /)
|
Chris@210
|
105 # autologin_cookie_secure: true sets the cookie secure flag (default: false)
|
Chris@210
|
106 autologin_cookie_name:
|
Chris@210
|
107 autologin_cookie_path:
|
Chris@210
|
108 autologin_cookie_secure:
|
Chris@210
|
109
|
Chris@210
|
110 # Configuration of SCM executable command.
|
Chris@210
|
111 # Absolute path (e.g. /usr/local/bin/hg) or command name (e.g. hg.exe, bzr.exe)
|
Chris@210
|
112 # On Windows, *.cmd, *.bat (e.g. hg.cmd, bzr.bat) does not work.
|
Chris@245
|
113 # Examples:
|
Chris@245
|
114 # scm_subversion_command: svn # (default: svn)
|
Chris@245
|
115 # scm_mercurial_command: C:\Program Files\TortoiseHg\hg.exe # (default: hg)
|
Chris@245
|
116 # scm_git_command: /usr/local/bin/git # (default: git)
|
Chris@245
|
117 # scm_cvs_command: cvs # (default: cvs)
|
Chris@245
|
118 # scm_bazaar_command: bzr.exe # (default: bzr)
|
Chris@245
|
119 # scm_darcs_command: darcs-1.0.9-i386-linux # (default: darcs)
|
Chris@245
|
120 scm_subversion_command:
|
Chris@245
|
121 scm_mercurial_command:
|
Chris@245
|
122 scm_git_command:
|
Chris@245
|
123 scm_cvs_command:
|
Chris@245
|
124 scm_bazaar_command:
|
Chris@245
|
125 scm_darcs_command:
|
Chris@245
|
126
|
Chris@245
|
127 # Key used to encrypt sensitive data in the database (SCM and LDAP passwords).
|
Chris@245
|
128 # If you don't want to enable data encryption, just leave it blank.
|
Chris@245
|
129 # WARNING: losing/changing this key will make encrypted data unreadable.
|
Chris@245
|
130 #
|
Chris@245
|
131 # If you want to encrypt existing passwords in your database:
|
Chris@245
|
132 # * set the cipher key here in your configuration file
|
Chris@245
|
133 # * encrypt data using 'rake db:encrypt RAILS_ENV=production'
|
Chris@245
|
134 #
|
Chris@245
|
135 # If you have encrypted data and want to change this key, you have to:
|
Chris@245
|
136 # * decrypt data using 'rake db:decrypt RAILS_ENV=production' first
|
Chris@245
|
137 # * change the cipher key here in your configuration file
|
Chris@245
|
138 # * encrypt data using 'rake db:encrypt RAILS_ENV=production'
|
Chris@245
|
139 database_cipher_key:
|
Chris@210
|
140
|
Chris@210
|
141 # specific configuration options for production environment
|
Chris@210
|
142 # that overrides the default ones
|
Chris@210
|
143 production:
|
Chris@210
|
144
|
Chris@210
|
145 # specific configuration options for development environment
|
Chris@210
|
146 # that overrides the default ones
|
Chris@210
|
147 development:
|