Project

General

Profile

Defect #11337 ยป configuration.yml

Krisztian Kocsis, 2012-07-16 07:47

 
1
# = Redmine configuration file
2
#
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.
5
# Environment specific configuration options override the default ones.
6
#
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.
9
#
10
# == Outgoing email settings (email_delivery setting)
11
#
12
# === Common configurations
13
#
14
# ==== Sendmail command
15
#
16
# production:
17
#   email_delivery:
18
#     delivery_method: :sendmail
19
#
20
# ==== Simple SMTP server at localhost
21
#
22
# production:
23
#   email_delivery:
24
#     delivery_method: :smtp
25
#     smtp_settings:
26
#       address: "localhost"
27
#       port: 25
28
#
29
# ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com
30
#
31
# production:
32
#   email_delivery:
33
#     delivery_method: :smtp
34
#     smtp_settings:
35
#       address: "example.com"
36
#       port: 25
37
#       authentication: :login
38
#       domain: 'foo.com'
39
#       user_name: 'myaccount'
40
#       password: 'password'
41
#
42
# ==== SMTP server at example.com using PLAIN authentication
43
#
44
# production:
45
#   email_delivery:
46
#     delivery_method: :smtp
47
#     smtp_settings:
48
#       address: "example.com"
49
#       port: 25
50
#       authentication: :plain
51
#       domain: 'example.com'
52
#       user_name: 'myaccount'
53
#       password: 'password'
54
#
55
# ==== SMTP server at using TLS (GMail)
56
#
57
# This requires some additional configuration.  See the article at:
58
# http://redmineblog.com/articles/setup-redmine-to-send-email-using-gmail/
59
#
60
# production:
61
#   email_delivery:
62
#     delivery_method: :smtp
63
#     smtp_settings:
64
#       tls: true
65
#       enable_starttls_auto: true
66
#       address: "smtp.gmail.com"
67
#       port: 587
68
#       domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps
69
#       authentication: :plain
70
#       user_name: "your_email@gmail.com"
71
#       password: "your_password"
72
#
73
#
74
# === More configuration options
75
#
76
# See the "Configuration options" at the following website for a list of the
77
# full options allowed:
78
#
79
# http://wiki.rubyonrails.org/rails/pages/HowToSendEmailsWithActionMailer
80

    
81

    
82
# default configuration options for all environments
83
default:
84
  # Outgoing emails configuration (see examples above)
85
  email_delivery:
86
    delivery_method: :async_smtp
87
    async_smtp_settings:
88
      address: localhost
89
      port: 25
90
      domain: optimaster.eu
91
      authentication: :plain
92
      user_name: "redmine@optimaster.eu"
93
      password: "********"
94

    
95
  # Absolute path to the directory where attachments are stored.
96
  # The default is the 'files' directory in your Redmine instance.
97
  # Your Redmine instance needs to have write permission on this
98
  # directory.
99
  # Examples:
100
  # attachments_storage_path: /var/redmine/files
101
  # attachments_storage_path: D:/redmine/files
102
  attachments_storage_path:
103

    
104
  # Configuration of the autologin cookie.
105
  # autologin_cookie_name: the name of the cookie (default: autologin)
106
  # autologin_cookie_path: the cookie path (default: /)
107
  # autologin_cookie_secure: true sets the cookie secure flag (default: false)
108
  autologin_cookie_name:
109
  autologin_cookie_path:
110
  autologin_cookie_secure:
111

    
112
  # Configuration of SCM executable command.
113
  #
114
  # Absolute path (e.g. /usr/local/bin/hg) or command name (e.g. hg.exe, bzr.exe)
115
  # On Windows + CRuby, *.cmd, *.bat (e.g. hg.cmd, bzr.bat) does not work.
116
  #
117
  # On Windows + JRuby 1.6.2, path which contains spaces does not work.
118
  # For example, "C:\Program Files\TortoiseHg\hg.exe".
119
  # If you want to this feature, you need to install to the path which does not contains spaces.
120
  # For example, "C:\TortoiseHg\hg.exe".
121
  #
122
  # Examples:
123
  # scm_subversion_command: svn                                       # (default: svn)
124
  # scm_mercurial_command:  C:\Program Files\TortoiseHg\hg.exe        # (default: hg)
125
  # scm_git_command:        /usr/local/bin/git                        # (default: git)
126
  # scm_cvs_command:        cvs                                       # (default: cvs)
127
  # scm_bazaar_command:     bzr.exe                                   # (default: bzr)
128
  # scm_darcs_command:      darcs-1.0.9-i386-linux                    # (default: darcs)
129
  #
130
  scm_subversion_command:
131
  scm_mercurial_command:
132
  scm_git_command:
133
  scm_cvs_command:
134
  scm_bazaar_command:
135
  scm_darcs_command:
136

    
137
  # Key used to encrypt sensitive data in the database (SCM and LDAP passwords).
138
  # If you don't want to enable data encryption, just leave it blank.
139
  # WARNING: losing/changing this key will make encrypted data unreadable.
140
  #
141
  # If you want to encrypt existing passwords in your database:
142
  # * set the cipher key here in your configuration file
143
  # * encrypt data using 'rake db:encrypt RAILS_ENV=production'
144
  #
145
  # If you have encrypted data and want to change this key, you have to:
146
  # * decrypt data using 'rake db:decrypt RAILS_ENV=production' first
147
  # * change the cipher key here in your configuration file
148
  # * encrypt data using 'rake db:encrypt RAILS_ENV=production'
149
  database_cipher_key: "********"
150

    
151
# specific configuration options for production environment
152
# that overrides the default ones
153
production:
154
  email_delivery:
155
    delivery_method: :async_smtp
156
    async_smtp_settings:
157
      address: localhost
158
      port: 25
159
      domain: optimaster.eu
160
      authentication: :plain
161
      user_name: "redmine@optimaster.eu"
162
      password: "********"
163

    
164
# specific configuration options for development environment
165
# that overrides the default ones
166
development:
167
  email_delivery:
168
    delivery_method: :async_smtp
169
    async_smtp_settings:
170
      address: localhost
171
      port: 25
172
      domain: optimaster.eu
173
      authentication: :plain
174
      user_name: "redmine@optimaster.eu"
175
      password: "********"
    (1-1/1)