defaults.yml 5.34 KB
Newer Older
Jonne Haß's avatar
Jonne Haß committed
1 2 3 4 5 6
#######################################################################
############### DO NOT TOUCH ANYTHING BELOW THIS ######################
#######################################################################

defaults:
  version:
Jonne Haß's avatar
Jonne Haß committed
7
    number: "0.5.2.99" # Do not touch unless doing a release, do not backport the version number that's in master
Jonne Haß's avatar
Jonne Haß committed
8 9 10 11 12 13 14
  heroku: false
  environment:
    url: "http://localhost:3000/"
    certificate_authorities:
    redis:
    require_ssl: true
    single_process_mode: false
Jonne Haß's avatar
Jonne Haß committed
15
    sidekiq:
16
      namespace:
Jonne Haß's avatar
Jonne Haß committed
17 18 19
      concurrency: 5
      retry: 10
      backtrace: 15
Jonne Haß's avatar
Jonne Haß committed
20
      log: 'log/sidekiq.log'
Jonne Haß's avatar
Jonne Haß committed
21 22 23 24 25 26
    s3:
      enable: false
      key:
      secret:
      bucket:
      region:
27
      cache: true
Jonne Haß's avatar
Jonne Haß committed
28
    image_redirect_url:
Jonne Haß's avatar
Jonne Haß committed
29 30 31 32
    assets:
      serve: false
      upload: false
      host:
Jonne Haß's avatar
Jonne Haß committed
33
    pubsub_server: 'https://pubsubhubbub.appspot.com/'
34 35 36 37
    logging:
      logrotate:
        enable: true
        days: 7
38 39 40
      debug:
        sql: false
        federation: false
41
  server:
42 43
    port:
    listen: '0.0.0.0:3000'
44
    rails_environment: 'development'
45 46
    stderr_log:
    stdout_log:
47
    unicorn_worker: 2
48
    unicorn_timeout: 90
Jonne Haß's avatar
Jonne Haß committed
49
    embed_sidekiq_worker: false
Jonne Haß's avatar
Jonne Haß committed
50
    sidekiq_workers: 1
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
  chat:
    enabled: false
    server:
      enabled: true
      certs: 'config/vines'
      accept_self_signed: false
      cross_domain_messages: true
      max_offline_msgs: 150
      c2s:
        address: '0.0.0.0'
        port: 5222
        max_stanza_size: 65536
        max_resources_per_account: 5
      s2s:
        address: '0.0.0.0'
        port: 5269
        max_stanza_size: 131072
        blacklist: []
      bosh:
        proxy: false
        address: '0.0.0.0'
        port: 5280
        bind: '/http-bind'
        max_stanza_size: 65536
        max_resources_per_account: 5
      log:
        file: 'log/vines.log'
        level: 'info'
Jonne Haß's avatar
Jonne Haß committed
79
  privacy:
80
    jquery_cdn: false
Jonne Haß's avatar
Jonne Haß committed
81 82 83 84 85 86 87
    google_analytics_key:
    piwik:
      enable: false
      host:
      site_id:
    mixpanel_uid:
    chartbeat_uid:
88 89 90
    statistics:
      user_counts: false
      post_counts: false
91
      comment_counts: false
Dennis Schubert's avatar
Dennis Schubert committed
92
    camo:
93 94 95
      proxy_markdown_images: false
      proxy_opengraph_thumbnails: false
      proxy_remote_pod_images: false
Dennis Schubert's avatar
Dennis Schubert committed
96 97
      root:
      key:
Jonne Haß's avatar
Jonne Haß committed
98
  settings:
Jonne Haß's avatar
Jonne Haß committed
99
    pod_name: 'diaspora*'
Jonne Haß's avatar
Jonne Haß committed
100
    enable_registrations: true
101 102
    autofollow_on_join: true
    autofollow_on_join_user: 'diasporahq@joindiaspora.com'
103 104 105 106
    welcome_message:
      enabled: false
      subject: 'Welcome Message'
      text: 'Hello %{username}, welcome to diaspora*.'
Jonne Haß's avatar
Jonne Haß committed
107 108 109
    invitations:
      open: true
      count: 25
110 111 112 113 114
    paypal_donations:
      enable: false
      currency: USD
      paypal_hosted_button_id:
      paypal_unhosted_button_encrypted:
115
    bitcoin_address:
116
    bitcoin_wallet_id: # DEPRECATED: Remove with 0.6
Jonne Haß's avatar
Jonne Haß committed
117 118 119
    community_spotlight:
      enable: false
      suggest_email:
120
    typhoeus_verbose: false
121
    typhoeus_concurrency: 20
Jonne Haß's avatar
Jonne Haß committed
122 123 124 125 126 127 128 129 130 131 132 133 134 135 136
    username_blacklist:
      - 'admin'
      - 'administrator'
      - 'hostmaster'
      - 'info'
      - 'postmaster'
      - 'root'
      - 'ssladmin'
      - 'ssladministrator'
      - 'sslwebmaster'
      - 'sysadmin'
      - 'webmaster'
      - 'support'
      - 'contact'
      - 'example_user1dsioaioedfhgoiesajdigtoearogjaidofgjo'
maruf's avatar
maruf committed
137 138 139 140 141 142
    captcha:
      enable: true
      image_size: '120x20'
      captcha_length: 5
      image_style: 'simply_green'
      distortion: 'low'
143 144 145 146
    terms:
      enable: false
      jurisdiction: false
      minimum_age: false
147 148 149 150 151 152
    maintenance:
      remove_old_users:
        enable: false
        after_days: 730
        warn_days: 30
        limit_removals_to_per_day: 100
153
    source_url:
Jonne Haß's avatar
Jonne Haß committed
154 155 156 157 158
  services:
    facebook:
      enable: false
      app_id:
      secret:
159
      open_graph_namespace: 'joindiaspora'
160
      authorized: false
Jonne Haß's avatar
Jonne Haß committed
161 162 163 164
    twitter:
      enable: false
      key:
      secret:
165
      authorized: true
Jonne Haß's avatar
Jonne Haß committed
166 167 168 169
    tumblr:
      enable: false
      key:
      secret:
170
      authorized: true
171 172 173 174
    wordpress:
      enable: false
      key:
      secret:
175
      authorized: true
Jonne Haß's avatar
Jonne Haß committed
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
  mail:
    enable: false
    sender_address: 'no-reply@example.org'
    method: 'smtp'
    smtp:
      host: 'localhost'
      port: 587
      authentication: 'plain'
      username:
      password:
      starttls_auto: true
      openssl_verify_mode:
      domain:
    sendmail:
      location: '/usr/sbin/sendmail'
      exim_fix: false
    message_bus_api_key:
  admins:
    account:
movilla's avatar
movilla committed
195
    podmin_email:
196 197
  # List valid environment variables
  redistogo_url:
Jonne Haß's avatar
Jonne Haß committed
198 199 200

development:
  environment:
Jonne Haß's avatar
Jonne Haß committed
201 202
    assets:
      serve: true
Jonne Haß's avatar
Jonne Haß committed
203 204
    single_process_mode: true
    require_ssl: false
205 206
  server:
    unicorn_worker: 1
Jonne Haß's avatar
Jonne Haß committed
207
  settings:
208 209
    autofollow_on_join: false
    autofollow_on_join_user: ''
Jonne Haß's avatar
Jonne Haß committed
210 211 212 213
production:
  i_am_a_dummy: # Remove if you add an actual override
test:
  environment:
Jonne Haß's avatar
Jonne Haß committed
214
    url: 'http://localhost:9887/'
Jonne Haß's avatar
Jonne Haß committed
215 216
    single_process_mode: true
    require_ssl: false
Jonne Haß's avatar
Jonne Haß committed
217 218
    assets:
      serve: true
Jonne Haß's avatar
Jonne Haß committed
219
  settings:
220 221
    autofollow_on_join: false
    autofollow_on_join_user: ''
Jonne Haß's avatar
Jonne Haß committed
222 223 224 225 226 227 228
    invitations:
      open: true
  services:
    facebook:
      enable: true
      app_id: 'fake'
      secret: 'sdoigjosdfijg'
229
      authorized: true
Jonne Haß's avatar
Jonne Haß committed
230 231 232 233
  mail:
    enable: true
integration1:
  environment:
Jonne Haß's avatar
Jonne Haß committed
234
    url: 'http://localhost:45789/'
Jonne Haß's avatar
Jonne Haß committed
235
    single_process_mode: true
Jonne Haß's avatar
Jonne Haß committed
236 237
    assets:
      serve: true
Jonne Haß's avatar
Jonne Haß committed
238 239 240
    require_ssl: false
integration2:
  environment:
Jonne Haß's avatar
Jonne Haß committed
241
    url: 'http://localhost:34658/'
Jonne Haß's avatar
Jonne Haß committed
242
    single_process_mode: true
Jonne Haß's avatar
Jonne Haß committed
243 244
    assets:
      serve: true
Jonne Haß's avatar
Jonne Haß committed
245
    require_ssl: false