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

defaults:
  version:
7
    number: "0.5.10.0" # 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:
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
    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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
  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
80
  privacy:
81
    jquery_cdn: false
Jonne Haß's avatar
Jonne Haß committed
82 83 84 85 86 87 88
    google_analytics_key:
    piwik:
      enable: false
      host:
      site_id:
    mixpanel_uid:
    chartbeat_uid:
89 90 91
    statistics:
      user_counts: false
      post_counts: false
92
      comment_counts: false
Dennis Schubert's avatar
Dennis Schubert committed
93
    camo:
94 95 96
      proxy_markdown_images: false
      proxy_opengraph_thumbnails: false
      proxy_remote_pod_images: false
Dennis Schubert's avatar
Dennis Schubert committed
97 98
      root:
      key:
Jonne Haß's avatar
Jonne Haß committed
99
  settings:
Jonne Haß's avatar
Jonne Haß committed
100
    pod_name: 'diaspora*'
Jonne Haß's avatar
Jonne Haß committed
101
    enable_registrations: true
102
    autofollow_on_join: true
103
    autofollow_on_join_user: 'hq@pod.diaspora.software'
104 105 106 107
    welcome_message:
      enabled: false
      subject: 'Welcome Message'
      text: 'Hello %{username}, welcome to diaspora*.'
Jonne Haß's avatar
Jonne Haß committed
108 109 110
    invitations:
      open: true
      count: 25
111 112 113 114 115
    paypal_donations:
      enable: false
      currency: USD
      paypal_hosted_button_id:
      paypal_unhosted_button_encrypted:
116
    bitcoin_address:
117
    bitcoin_wallet_id: # DEPRECATED: Remove with 0.6
Jonne Haß's avatar
Jonne Haß committed
118 119 120
    community_spotlight:
      enable: false
      suggest_email:
121
    typhoeus_verbose: false
122
    typhoeus_concurrency: 20
Jonne Haß's avatar
Jonne Haß committed
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
    username_blacklist:
      - 'admin'
      - 'administrator'
      - 'hostmaster'
      - 'info'
      - 'postmaster'
      - 'root'
      - 'ssladmin'
      - 'ssladministrator'
      - 'sslwebmaster'
      - 'sysadmin'
      - 'webmaster'
      - 'support'
      - 'contact'
      - 'example_user1dsioaioedfhgoiesajdigtoearogjaidofgjo'
maruf's avatar
maruf committed
138 139 140 141 142 143
    captcha:
      enable: true
      image_size: '120x20'
      captcha_length: 5
      image_style: 'simply_green'
      distortion: 'low'
144 145 146 147
    terms:
      enable: false
      jurisdiction: false
      minimum_age: false
148 149 150 151 152 153
    maintenance:
      remove_old_users:
        enable: false
        after_days: 730
        warn_days: 30
        limit_removals_to_per_day: 100
154
    source_url:
Jonne Haß's avatar
Jonne Haß committed
155 156 157 158 159
  services:
    facebook:
      enable: false
      app_id:
      secret:
160
      open_graph_namespace: 'joindiaspora'
161
      authorized: false
Jonne Haß's avatar
Jonne Haß committed
162 163 164 165
    twitter:
      enable: false
      key:
      secret:
166
      authorized: true
Jonne Haß's avatar
Jonne Haß committed
167 168 169 170
    tumblr:
      enable: false
      key:
      secret:
171
      authorized: true
172 173 174 175
    wordpress:
      enable: false
      key:
      secret:
176
      authorized: true
Jonne Haß's avatar
Jonne Haß committed
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
  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
196
    podmin_email:
197 198
  # List valid environment variables
  redistogo_url:
Jonne Haß's avatar
Jonne Haß committed
199 200 201

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