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