| 1 | #
 | 
  
    | 2 | #= Redmine configuration file
 | 
  
    | 3 | #
 | 
  
    | 4 | # Each environment has it's own configuration options.  If you are only
 | 
  
    | 5 | # running in production, only the production block needs to be configured.
 | 
  
    | 6 | # Environment specific configuration options override the default ones.
 | 
  
    | 7 | #
 | 
  
    | 8 | # Note that this file needs to be a valid YAML file.
 | 
  
    | 9 | # DO NOT USE TABS! Use 2 spaces instead of tabs for identation.
 | 
  
    | 10 | 
 | 
  
    | 11 | # default configuration options for all environments
 | 
  
    | 12 | default:
 | 
  
    | 13 |   # Outgoing emails configuration
 | 
  
    | 14 |   # See the examples below and the Rails guide for more configuration options:
 | 
  
    | 15 |   # http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration
 | 
  
    | 16 |   email_delivery:
 | 
  
    | 17 | 
 | 
  
    | 18 |   # ==== Simple SMTP server at localhost
 | 
  
    | 19 |   #
 | 
  
    | 20 |   #  email_delivery:
 | 
  
    | 21 |   #    delivery_method: :smtp
 | 
  
    | 22 |   #    smtp_settings:
 | 
  
    | 23 |   #      address: "localhost"
 | 
  
    | 24 |   #      port: 25
 | 
  
    | 25 |   #
 | 
  
    | 26 |   # ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com
 | 
  
    | 27 |   #
 | 
  
    | 28 |   #  email_delivery:
 | 
  
    | 29 |   #    delivery_method: :smtp
 | 
  
    | 30 |   #    smtp_settings:
 | 
  
    | 31 |   #      address: "example.com"
 | 
  
    | 32 |   #      port: 25
 | 
  
    | 33 |   #      authentication: :login
 | 
  
    | 34 |   #      domain: 'foo.com'
 | 
  
    | 35 |   #      user_name: 'myaccount'
 | 
  
    | 36 |   #      password: 'password'
 | 
  
    | 37 |   #
 | 
  
    | 38 |   # ==== SMTP server at example.com using PLAIN authentication
 | 
  
    | 39 |   #
 | 
  
    | 40 |   #  email_delivery:
 | 
  
    | 41 |   #    delivery_method: :smtp
 | 
  
    | 42 |   #    smtp_settings:
 | 
  
    | 43 |   #      address: "example.com"
 | 
  
    | 44 |   #      port: 25
 | 
  
    | 45 |   #      authentication: :plain
 | 
  
    | 46 |   #      domain: 'example.com'
 | 
  
    | 47 |   #      user_name: 'myaccount'
 | 
  
    | 48 |   #      password: 'password'
 | 
  
    | 49 |   #
 | 
  
    | 50 |   # ==== SMTP server at using TLS (GMail)
 | 
  
    | 51 |   # This might require some additional configuration. See the guides at:
 | 
  
    | 52 |   # http://www.redmine.org/projects/redmine/wiki/EmailConfiguration
 | 
  
    | 53 |   #
 | 
  
    | 54 |   #  email_delivery:
 | 
  
    | 55 |   #    delivery_method: :smtp
 | 
  
    | 56 |   #    smtp_settings:
 | 
  
    | 57 |   #      enable_starttls_auto: true
 | 
  
    | 58 |   #      address: "smtp.gmail.com"
 | 
  
    | 59 |   #      port: 587
 | 
  
    | 60 |   #      domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps
 | 
  
    | 61 |   #      authentication: :plain
 | 
  
    | 62 |   #      user_name: "your_email@gmail.com"
 | 
  
    | 63 |   #      password: "your_password"
 | 
  
    | 64 |   #
 | 
  
    | 65 |   # ==== Sendmail command
 | 
  
    | 66 |   #
 | 
  
    | 67 |   #  email_delivery:
 | 
  
    | 68 |   #    delivery_method: :sendmail
 | 
  
    | 69 | 
 | 
  
    | 70 |   # Absolute path to the directory where attachments are stored.
 | 
  
    | 71 |   # The default is the 'files' directory in your Redmine instance.
 | 
  
    | 72 |   # Your Redmine instance needs to have write permission on this
 | 
  
    | 73 |   # directory.
 | 
  
    | 74 |   # Examples:
 | 
  
    | 75 |   # attachments_storage_path: /var/redmine/files
 | 
  
    | 76 |   # attachments_storage_path: D:/redmine/files
 | 
  
    | 77 |   attachments_storage_path:
 | 
  
    | 78 | 
 | 
  
    | 79 |   # Configuration of the autologin cookie.
 | 
  
    | 80 |   # autologin_cookie_name: the name of the cookie (default: autologin)
 | 
  
    | 81 |   # autologin_cookie_path: the cookie path (default: /)
 | 
  
    | 82 |   # autologin_cookie_secure: true sets the cookie secure flag (default: false)
 | 
  
    | 83 |   autologin_cookie_name:
 | 
  
    | 84 |   autologin_cookie_path:
 | 
  
    | 85 |   autologin_cookie_secure:
 | 
  
    | 86 | 
 | 
  
    | 87 |   # Configuration of SCM executable command.
 | 
  
    | 88 |   #
 | 
  
    | 89 |   # Absolute path (e.g. /usr/local/bin/hg) or command name (e.g. hg.exe, bzr.exe)
 | 
  
    | 90 |   # On Windows + CRuby, *.cmd, *.bat (e.g. hg.cmd, bzr.bat) does not work.
 | 
  
    | 91 |   #
 | 
  
    | 92 |   # On Windows + JRuby 1.6.2, path which contains spaces does not work.
 | 
  
    | 93 |   # For example, "C:\Program Files\TortoiseHg\hg.exe".
 | 
  
    | 94 |   # If you want to this feature, you need to install to the path which does not contains spaces.
 | 
  
    | 95 |   # For example, "C:\TortoiseHg\hg.exe".
 | 
  
    | 96 |   #
 | 
  
    | 97 |   # Examples:
 | 
  
    | 98 |   # scm_subversion_command: svn                                       # (default: svn)
 | 
  
    | 99 |   # scm_mercurial_command:  C:\Program Files\TortoiseHg\hg.exe        # (default: hg)
 | 
  
    | 100 |   # scm_git_command:        /usr/local/bin/git                        # (default: git)
 | 
  
    | 101 |   # scm_cvs_command:        cvs                                       # (default: cvs)
 | 
  
    | 102 |   # scm_bazaar_command:     bzr.exe                                   # (default: bzr)
 | 
  
    | 103 |   # scm_darcs_command:      darcs-1.0.9-i386-linux                    # (default: darcs)
 | 
  
    | 104 |   #
 | 
  
    | 105 |   scm_subversion_command:
 | 
  
    | 106 |   scm_mercurial_command:
 | 
  
    | 107 |   scm_git_command:
 | 
  
    | 108 |   scm_cvs_command:
 | 
  
    | 109 |   scm_bazaar_command:
 | 
  
    | 110 |   scm_darcs_command:
 | 
  
    | 111 | 
 | 
  
    | 112 |   # SCM paths validation.
 | 
  
    | 113 |   #
 | 
  
    | 114 |   # You can configure a regular expression for each SCM that will be used to
 | 
  
    | 115 |   # validate the path of new repositories (eg. path entered by users with the
 | 
  
    | 116 |   # "Manage repositories" permission and path returned by reposman.rb).
 | 
  
    | 117 |   # The regexp will be wrapped with \A \z, so it must match the whole path.
 | 
  
    | 118 |   # And the regexp is case sensitive.
 | 
  
    | 119 |   #
 | 
  
    | 120 |   # You can match the project identifier by using %project% in the regexp.
 | 
  
    | 121 |   #
 | 
  
    | 122 |   # You can also set a custom hint message for each SCM that will be displayed
 | 
  
    | 123 |   # on the repository form instead of the default one.
 | 
  
    | 124 |   #
 | 
  
    | 125 |   # Examples:
 | 
  
    | 126 |   # scm_subversion_path_regexp: file:///svnpath/[a-z0-9_]+
 | 
  
    | 127 |   # scm_subversion_path_info: SVN URL (eg. file:///svnpath/foo)
 | 
  
    | 128 |   #
 | 
  
    | 129 |   # scm_git_path_regexp: /gitpath/%project%(\.[a-z0-9_])?/
 | 
  
    | 130 |   #
 | 
  
    | 131 |   scm_subversion_path_regexp:
 | 
  
    | 132 |   scm_mercurial_path_regexp:
 | 
  
    | 133 |   scm_git_path_regexp:
 | 
  
    | 134 |   scm_cvs_path_regexp:
 | 
  
    | 135 |   scm_bazaar_path_regexp:
 | 
  
    | 136 |   scm_darcs_path_regexp:
 | 
  
    | 137 |   scm_filesystem_path_regexp:
 | 
  
    | 138 | 
 | 
  
    | 139 |   # Absolute path to the SCM commands errors (stderr) log file.
 | 
  
    | 140 |   # The default is to log in the 'log' directory of your Redmine instance.
 | 
  
    | 141 |   # Example:
 | 
  
    | 142 |   # scm_stderr_log_file: /var/log/redmine_scm_stderr.log
 | 
  
    | 143 |   scm_stderr_log_file:
 | 
  
    | 144 | 
 | 
  
    | 145 |   # Key used to encrypt sensitive data in the database (SCM and LDAP passwords).
 | 
  
    | 146 |   # If you don't want to enable data encryption, just leave it blank.
 | 
  
    | 147 |   # WARNING: losing/changing this key will make encrypted data unreadable.
 | 
  
    | 148 |   #
 | 
  
    | 149 |   # If you want to encrypt existing passwords in your database:
 | 
  
    | 150 |   # * set the cipher key here in your configuration file
 | 
  
    | 151 |   # * encrypt data using 'rake db:encrypt RAILS_ENV=production'
 | 
  
    | 152 |   #
 | 
  
    | 153 |   # If you have encrypted data and want to change this key, you have to:
 | 
  
    | 154 |   # * decrypt data using 'rake db:decrypt RAILS_ENV=production' first
 | 
  
    | 155 |   # * change the cipher key here in your configuration file
 | 
  
    | 156 |   # * encrypt data using 'rake db:encrypt RAILS_ENV=production'
 | 
  
    | 157 |   database_cipher_key:
 | 
  
    | 158 | 
 | 
  
    | 159 |   # Set this to false to disable plugins' assets mirroring on startup.
 | 
  
    | 160 |   # You can use `rake redmine:plugins:assets` to manually mirror assets
 | 
  
    | 161 |   # to public/plugin_assets when you install/upgrade a Redmine plugin.
 | 
  
    | 162 |   #
 | 
  
    | 163 |   #mirror_plugins_assets_on_startup: false
 | 
  
    | 164 | 
 | 
  
    | 165 |   # Your secret key for verifying cookie session data integrity. If you
 | 
  
    | 166 |   # change this key, all old sessions will become invalid! Make sure the
 | 
  
    | 167 |   # secret is at least 30 characters and all random, no regular words or
 | 
  
    | 168 |   # you'll be exposed to dictionary attacks.
 | 
  
    | 169 |   #
 | 
  
    | 170 |   # If you have a load-balancing Redmine cluster, you have to use the
 | 
  
    | 171 |   # same secret token on each machine.
 | 
  
    | 172 |   #secret_token: 'change it to a long random string'
 | 
  
    | 173 | 
 | 
  
    | 174 |   # Absolute path (e.g. /usr/bin/convert, c:/im/convert.exe) to
 | 
  
    | 175 |   # the ImageMagick's `convert` binary. Used to generate attachment thumbnails.
 | 
  
    | 176 |   #imagemagick_convert_command:
 | 
  
    | 177 | 
 | 
  
    | 178 |   # Configuration of RMagcik font.
 | 
  
    | 179 |   #
 | 
  
    | 180 |   # Redmine uses RMagcik in order to export gantt png.
 | 
  
    | 181 |   # You don't need this setting if you don't install RMagcik.
 | 
  
    | 182 |   #
 | 
  
    | 183 |   # In CJK (Chinese, Japanese and Korean),
 | 
  
    | 184 |   # in order to show CJK characters correctly,
 | 
  
    | 185 |   # you need to set this configuration.
 | 
  
    | 186 |   #
 | 
  
    | 187 |   # Because there is no standard font across platforms in CJK,
 | 
  
    | 188 |   # you need to set a font installed in your server.
 | 
  
    | 189 |   #
 | 
  
    | 190 |   # This setting is not necessary in non CJK.
 | 
  
    | 191 |   #
 | 
  
    | 192 |   # Examples for Japanese:
 | 
  
    | 193 |   #   Windows:
 | 
  
    | 194 |   #     rmagick_font_path: C:\windows\fonts\msgothic.ttc
 | 
  
    | 195 |   #   Linux:
 | 
  
    | 196 |   #     rmagick_font_path: /usr/share/fonts/ipa-mincho/ipam.ttf
 | 
  
    | 197 |   #
 | 
  
    | 198 |   rmagick_font_path:
 | 
  
    | 199 | 
 | 
  
    | 200 |   # Maximum number of simultaneous AJAX uploads
 | 
  
    | 201 |   #max_concurrent_ajax_uploads: 2
 | 
  
    | 202 | 
 | 
  
    | 203 |   # Configure OpenIdAuthentication.store
 | 
  
    | 204 |   #
 | 
  
    | 205 |   # allowed values: :memory, :file, :memcache
 | 
  
    | 206 |   #openid_authentication_store: :memory
 | 
  
    | 207 | 
 | 
  
    | 208 | # specific configuration options for production environment
 | 
  
    | 209 | # that overrides the default ones
 | 
  
    | 210 | production:
 | 
  
    | 211 | delivery_method: :smtp
 | 
  
    | 212 | smtp_settings:
 | 
  
    | 213 | enable_starttls_auto: true
 | 
  
    | 214 | address: "smtp.gmail.com"
 | 
  
    | 215 | port: 587
 | 
  
    | 216 | domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps
 | 
  
    | 217 | authentication: :plain
 | 
  
    | 218 | user_name: "gmailmail email "
 | 
  
    | 219 | password: "password for the gmail account"
 | 
  
    | 220 | 
 | 
  
    | 221 | # specific configuration options for development environment
 | 
  
    | 222 | # that overrides the default ones
 | 
  
    | 223 | development:
 |