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@210
|
113 scm_subversion_command: svn # (default: svn)
|
Chris@210
|
114 scm_mercurial_command: "\"C:\Program Files\TortoiseHg\hg.exe\"" # (default: hg)
|
Chris@210
|
115 scm_git_command: /usr/local/bin/git # (default: git)
|
Chris@210
|
116 scm_cvs_command: cvs # (default: cvs)
|
Chris@210
|
117 scm_bazaar_command: bzr.exe # (default: bzr)
|
Chris@210
|
118 scm_darcs_command: darcs-1.0.9-i386-linux # (default: darcs)
|
Chris@210
|
119
|
Chris@210
|
120 # specific configuration options for production environment
|
Chris@210
|
121 # that overrides the default ones
|
Chris@210
|
122 production:
|
Chris@210
|
123
|
Chris@210
|
124 # specific configuration options for development environment
|
Chris@210
|
125 # that overrides the default ones
|
Chris@210
|
126 development:
|