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

defaults:
  version:
Benjamin Neff's avatar
Benjamin Neff committed
7
    number: "0.7.8.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 16 17 18
    sidekiq:
      concurrency: 5
      retry: 10
      backtrace: 15
19 20
      dead_jobs_limit: 5000
      dead_jobs_timeout: 3628800 # 6 weeks
Jonne Haß's avatar
Jonne Haß committed
21
      log: 'log/sidekiq.log'
Jonne Haß's avatar
Jonne Haß committed
22 23 24 25 26 27
    s3:
      enable: false
      key:
      secret:
      bucket:
      region:
28
      cache: true
Jonne Haß's avatar
Jonne Haß committed
29
    image_redirect_url:
30 31 32 33
    assets:
      serve: false
      upload: false
      host:
Jonne Haß's avatar
Jonne Haß committed
34
    pubsub_server: 'https://pubsubhubbub.appspot.com/'
35 36 37 38
    logging:
      logrotate:
        enable: true
        days: 7
39 40 41
      debug:
        sql: false
        federation: false
42
  server:
43
    listen: '0.0.0.0:3000'
44
    rails_environment: 'development'
45
    pid: "tmp/pids/web.pid"
46 47
    stderr_log:
    stdout_log:
48
    unicorn_worker: 2
49
    unicorn_timeout: 90
Jonne Haß's avatar
Jonne Haß committed
50
    embed_sidekiq_worker: false
Jonne Haß's avatar
Jonne Haß committed
51
    sidekiq_workers: 1
52 53 54 55
  chat:
    enabled: false
    server:
      enabled: true
56
      certs: "config/certs"
57 58
      bosh:
        proxy: false
59
        proto: 'http'
60 61 62 63
        address: '0.0.0.0'
        port: 5280
        bind: '/http-bind'
      log:
64 65 66
        info: 'log/prosody.log'
        error: 'log/prosody.err'
        debug: false
zaziemo's avatar
zaziemo committed
67 68
  map:
    mapbox:
69
      enabled: false
70
      access_token:
Benjamin Neff's avatar
Benjamin Neff committed
71
      style: "mapbox/streets-v9"
Jonne Haß's avatar
Jonne Haß committed
72
  privacy:
73
    jquery_cdn: false
Jonne Haß's avatar
Jonne Haß committed
74 75 76 77 78
    google_analytics_key:
    piwik:
      enable: false
      host:
      site_id:
79 80 81
    statistics:
      user_counts: false
      post_counts: false
82
      comment_counts: false
Dennis Schubert's avatar
Dennis Schubert committed
83
    camo:
84 85 86
      proxy_markdown_images: false
      proxy_opengraph_thumbnails: false
      proxy_remote_pod_images: false
Dennis Schubert's avatar
Dennis Schubert committed
87 88
      root:
      key:
Jonne Haß's avatar
Jonne Haß committed
89
  settings:
Jonne Haß's avatar
Jonne Haß committed
90
    pod_name: 'diaspora*'
Jonne Haß's avatar
Jonne Haß committed
91
    enable_registrations: true
92
    autofollow_on_join: true
93
    autofollow_on_join_user: 'hq@pod.diaspora.software'
94 95 96 97
    welcome_message:
      enabled: false
      subject: 'Welcome Message'
      text: 'Hello %{username}, welcome to diaspora*.'
Jonne Haß's avatar
Jonne Haß committed
98 99 100
    invitations:
      open: true
      count: 25
101 102 103 104 105
    paypal_donations:
      enable: false
      currency: USD
      paypal_hosted_button_id:
      paypal_unhosted_button_encrypted:
106
    liberapay_username:
107
    bitcoin_address:
108
    bitcoin_wallet_id: # DEPRECATED: Remove with 0.6
Jonne Haß's avatar
Jonne Haß committed
109 110 111
    community_spotlight:
      enable: false
      suggest_email:
112
    typhoeus_verbose: false
113
    typhoeus_concurrency: 20
114
    export_concurrency: 1
Jonne Haß's avatar
Jonne Haß committed
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
    username_blacklist:
      - 'admin'
      - 'administrator'
      - 'hostmaster'
      - 'info'
      - 'postmaster'
      - 'root'
      - 'ssladmin'
      - 'ssladministrator'
      - 'sslwebmaster'
      - 'sysadmin'
      - 'webmaster'
      - 'support'
      - 'contact'
      - 'example_user1dsioaioedfhgoiesajdigtoearogjaidofgjo'
maruf's avatar
maruf committed
130 131 132 133 134 135
    captcha:
      enable: true
      image_size: '120x20'
      captcha_length: 5
      image_style: 'simply_green'
      distortion: 'low'
136 137 138 139
    terms:
      enable: false
      jurisdiction: false
      minimum_age: false
140 141 142 143 144 145
    maintenance:
      remove_old_users:
        enable: false
        after_days: 730
        warn_days: 30
        limit_removals_to_per_day: 100
146
    source_url:
147
    changelog_url:
148
    default_color_theme: "original"
149 150 151
    default_metas:
      title: 'diaspora* social network'
      description: 'diaspora* is the online social world where you are in control.'
152 153 154
    csp:
      report_only: true
      report_uri:
Jonne Haß's avatar
Jonne Haß committed
155 156 157 158 159
  services:
    twitter:
      enable: false
      key:
      secret:
160
      authorized: true
Jonne Haß's avatar
Jonne Haß committed
161 162 163 164
    tumblr:
      enable: false
      key:
      secret:
165
      authorized: true
166 167 168 169
    wordpress:
      enable: false
      key:
      secret:
170
      authorized: true
Jonne Haß's avatar
Jonne Haß committed
171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189
  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
190
    podmin_email:
191 192 193
  relay:
    outbound:
      send: false
194
      url: 'https://relay.iliketoast.net/receive/public'
195 196 197 198 199
    inbound:
      subscribe: false
      scope: tags
      include_user_tags: false
      pod_tags:
Jonne Haß's avatar
Jonne Haß committed
200 201 202

development:
  environment:
203 204
    assets:
      serve: true
Jonne Haß's avatar
Jonne Haß committed
205 206
    single_process_mode: true
    require_ssl: false
207 208 209
    logging:
      debug:
        sql: true
210 211
  server:
    unicorn_worker: 1
Jonne Haß's avatar
Jonne Haß committed
212
  settings:
213 214
    autofollow_on_join: false
    autofollow_on_join_user: ''
Jonne Haß's avatar
Jonne Haß committed
215
production:
216 217
  server:
    listen: 'unix:tmp/diaspora.sock'
Jonne Haß's avatar
Jonne Haß committed
218 219
test:
  environment:
Jonne Haß's avatar
Jonne Haß committed
220
    url: 'http://localhost:9887/'
Jonne Haß's avatar
Jonne Haß committed
221 222
    single_process_mode: true
    require_ssl: false
223 224
    assets:
      serve: true
Jonne Haß's avatar
Jonne Haß committed
225
  settings:
226 227
    autofollow_on_join: false
    autofollow_on_join_user: ''
Jonne Haß's avatar
Jonne Haß committed
228 229 230
    invitations:
      open: true
  services:
231
    twitter:
Jonne Haß's avatar
Jonne Haß committed
232
      enable: true
233
      key: 'fake'
Jonne Haß's avatar
Jonne Haß committed
234 235 236 237 238
      secret: 'sdoigjosdfijg'
  mail:
    enable: true
integration1:
  environment:
Jonne Haß's avatar
Jonne Haß committed
239
    url: 'http://localhost:45789/'
Jonne Haß's avatar
Jonne Haß committed
240
    single_process_mode: true
241 242
    assets:
      serve: true
Jonne Haß's avatar
Jonne Haß committed
243 244 245
    require_ssl: false
integration2:
  environment:
Jonne Haß's avatar
Jonne Haß committed
246
    url: 'http://localhost:34658/'
247
    redis: 'redis://localhost:6380'
Jonne Haß's avatar
Jonne Haß committed
248
    single_process_mode: true
249 250
    assets:
      serve: true
Jonne Haß's avatar
Jonne Haß committed
251
    require_ssl: false