configuration.yml

Alexandre Faria Pierini, 2018-05-22 20:29

Download (8.27 KB)

 
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
# default configuration options for all environments
11
default:
12
  # Outgoing emails configuration
13
  # See the examples below and the Rails guide for more configuration 
14
  # http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration
15
  email_delivery:
16

    
17
  # ==== Simple SMTP server at localhost
18
  #
19
  #  email_delivery:
20
  #    delivery_method: :smtp
21
  #    smtp_settings:
22
  #      address: "localhost"
23
  #      port: 25
24
  #
25
  # ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com
26
  #
27
  #  email_delivery:
28
  #    delivery_method: :smtp
29
  #    smtp_settings:
30
  #      address: "example.com"
31
  #      port: 25
32
  #      authentication: :login
33
  #      domain: 'foo.com'
34
  #      user_name: 'myaccount'
35
  #      password: 'password'
36
  #
37
  # ==== SMTP server at example.com using PLAIN authentication
38
  #
39
  #  email_delivery:
40
  #    delivery_method: :smtp
41
  #    smtp_settings:
42
  #      address: "example.com"
43
  #      port: 25
44
  #      authentication: :plain
45
  #      domain: 'example.com'
46
  #      user_name: 'myaccount'
47
  #      password: 'password'
48
  #
49
  # ==== SMTP server at using TLS (GMail)
50
  # This might require some additional configuration. See the guides at:
51
  # http://www.redmine.org/projects/redmine/wiki/EmailConfiguration
52
  #
53
  #  email_delivery:
54
  #    delivery_method: :smtp
55
  #    smtp_settings:
56
  #      enable_starttls_auto: true
57
  #      address: "smtp.gmail.com"
58
  #      port: 587
59
  #      domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps
60
  #      authentication: :plain
61
  #      user_name: "your_email@gmail.com"
62
  #      password: "your_password"
63
  #
64
  # ==== Sendmail command
65
  #
66
  #  email_delivery:
67
  #    delivery_method: :sendmail
68

    
69
  # Absolute path to the directory where attachments are stored.
70
  # The default is the 'files' directory in your Redmine instance.
71
  # Your Redmine instance needs to have write permission on this
72
  # directory.
73
  # Examples:
74
  # attachments_storage_path: /var/redmine/files
75
  # attachments_storage_path: D:/redmine/files
76
  attachments_storage_path:
77

    
78
  # Configuration of the autologin cookie.
79
  # autologin_cookie_name: the name of the cookie (default: autologin)
80
  # autologin_cookie_path: the cookie path (default: /)
81
  # autologin_cookie_secure: true sets the cookie secure flag (default: false)
82
  autologin_cookie_name:
83
  autologin_cookie_path:
84
  autologin_cookie_secure:
85

    
86
  # Configuration of SCM executable command.
87
  #
88
  # Absolute path (e.g. /usr/local/bin/hg) or command name (e.g. hg.exe, bzr.exe)
89
  # On Windows + CRuby, *.cmd, *.bat (e.g. hg.cmd, bzr.bat) does not work.
90
  #
91
  # On Windows + JRuby 1.6.2, path which contains spaces does not work.
92
  # For example, "C:\Program Files\TortoiseHg\hg.exe".
93
  # If you want to this feature, you need to install to the path which does not contains spaces.
94
  # For example, "C:\TortoiseHg\hg.exe".
95
  #
96
  # Examples:
97
  # scm_subversion_command: svn                                       # (default: svn)
98
  # scm_mercurial_command:  C:\Program Files\TortoiseHg\hg.exe        # (default: hg)
99
  # scm_git_command:        /usr/local/bin/git                        # (default: git)
100
  # scm_cvs_command:        cvs                                       # (default: cvs)
101
  # scm_bazaar_command:     bzr.exe                                   # (default: bzr)
102
  # scm_darcs_command:      darcs-1.0.9-i386-linux                    # (default: darcs)
103
  #
104
  scm_subversion_command:
105
  scm_mercurial_command:
106
  scm_git_command:
107
  scm_cvs_command:
108
  scm_bazaar_command:
109
  scm_darcs_command:
110

    
111
  # SCM paths validation.
112
  #
113
  # You can configure a regular expression for each SCM that will be used to
114
  # validate the path of new repositories (eg. path entered by users with the
115
  # "Manage repositories" permission and path returned by reposman.rb).
116
  # The regexp will be wrapped with \A \z, so it must match the whole path.
117
  # And the regexp is case sensitive.
118
  #
119
  # You can match the project identifier by using %project% in the regexp.
120
  #
121
  # You can also set a custom hint message for each SCM that will be displayed
122
  # on the repository form instead of the default one.
123
  #
124
  # Examples:
125
  # scm_subversion_path_regexp: file:///svnpath/[a-z0-9_]+
126
  # scm_subversion_path_info: SVN URL (eg. file:///svnpath/foo)
127
  #
128
  # scm_git_path_regexp: /gitpath/%project%(\.[a-z0-9_])?/
129
  #
130
  scm_subversion_path_regexp:
131
  scm_mercurial_path_regexp:
132
  scm_git_path_regexp:
133
  scm_cvs_path_regexp:
134
  scm_bazaar_path_regexp:
135
  scm_darcs_path_regexp:
136
  scm_filesystem_path_regexp:
137

    
138
  # Absolute path to the SCM commands errors (stderr) log file.
139
  # The default is to log in the 'log' directory of your Redmine instance.
140
  # Example:
141
  # scm_stderr_log_file: /var/log/redmine_scm_stderr.log
142
  scm_stderr_log_file:
143

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

    
158
  # Set this to false to disable plugins' assets mirroring on startup.
159
  # You can use `rake redmine:plugins:assets` to manually mirror assets
160
  # to public/plugin_assets when you install/upgrade a Redmine plugin.
161
  #
162
  #mirror_plugins_assets_on_startup: false
163

    
164
  # Your secret key for verifying cookie session data integrity. If you
165
  # change this key, all old sessions will become invalid! Make sure the
166
  # secret is at least 30 characters and all random, no regular words or
167
  # you'll be exposed to dictionary attacks.
168
  #
169
  # If you have a load-balancing Redmine cluster, you have to use the
170
  # same secret token on each machine.
171
  #secret_token: 'change it to a long random string'
172

    
173
  # Requires users to re-enter their password for sensitive actions (editing
174
  # of account data, project memberships, application settings, user, group,
175
  # role, auth source management and project deletion). Disabled by default.
176
  # Timeout is set in minutes.
177
  #
178
  #sudo_mode: true
179
  #sudo_mode_timeout: 15
180

    
181
  # Absolute path (e.g. /usr/bin/convert, c:/im/convert.exe) to
182
  # the ImageMagick's `convert` binary. Used to generate attachment thumbnails.
183
  #imagemagick_convert_command:
184

    
185
  # Configuration of RMagick font.
186
  #
187
  # Redmine uses RMagick in order to export gantt png.
188
  # You don't need this setting if you don't install RMagick.
189
  #
190
  # In CJK (Chinese, Japanese and Korean),
191
  # in order to show CJK characters correctly,
192
  # you need to set this configuration.
193
  #
194
  # Because there is no standard font across platforms in CJK,
195
  # you need to set a font installed in your server.
196
  #
197
  # This setting is not necessary in non CJK.
198
  #
199
  # Examples for Japanese:
200
  #   Windows:
201
  #     rmagick_font_path: C:\windows\fonts\msgothic.ttc
202
  #   Linux:
203
  #     rmagick_font_path: /usr/share/fonts/ipa-mincho/ipam.ttf
204
  #
205
  rmagick_font_path:
206

    
207
  # Maximum number of simultaneous AJAX uploads
208
  #max_concurrent_ajax_uploads: 2
209

    
210
  # Configure OpenIdAuthentication.store
211
  #
212
  # allowed values: :memory, :file, :memcache
213
  #openid_authentication_store: :memory
214

    
215
# specific configuration options for production environment
216
# that overrides the default ones
217
production:
218
  # Outgoing emails configuration (see examples above)
219
  email_delivery:
220
    delivery_method: :smtp
221
    smtp_settings:
222
      address: email-ssl.com.br
223
      port: 465
224
      ssl: true
225
      domain: mairinque.sp.gov.br
226
      authentication: :login
227
      user_name: "suporte@mairinque.sp.gov.br"
228
      password: "sistemaspadrao"
229
      
230
# specific configuration options for development environment
231
# that overrides the default ones
232
development: