Welcome to mirror list, hosted at ThFree Co, Russian Federation.

application.yml.example « config - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6577ffd9db3ec66683842b2caa9a16f6627bb50c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
#   Copyright (c) 2011, Diaspora Inc.  This file is
#   licensed under the Affero General Public License version 3 or later.  See
#   the COPYRIGHT file.

defaults: &defaults

  # Hostname of the machine you're running Diaspora on, as seen from the internet.
  # For development and testing, you can leave this as is.
  pod_url: "http://localhost:3000"

  # Set this to true to prevent people from signing up for your pod without an invitation.
  registrations_closed: false

  # Set this to true to prevent users from sending invitations.
  invites_off: false

  # Set this to true if you want users to invite as many people as they want
  open_invitations: true

  #
  # Logging setup
  #

  # Enable extensive logging to log/{development,test,production}.log
  debug: false

  # If you want normal Rails logs, set this to false in the appropriate environment.
  # It is false by default in development and test.
  enable_splunk_logging: true

  #
  # Websocket server setup - see script/websocket_server.rb
  #

  # Enable extensive logging to websocket server.
  socket_debug : false

  # Websocket host - leave as 0.0.0.0 unless you know what you are doing
  socket_host: 0.0.0.0

  # File containing pid of running script/websocket_server.rb
  socket_pidfile: "log/diaspora-wsd.pid"

  # Websocket port - should normally be 8080 or 8081.
  socket_port: 8080
  socket_collection_name: 'websocket'

  # Secure websocket confguration (wss://).
  # Requires SSL cert and key
  socket_secure: false
  socket_cert_chain_location: '/full/path/to/cert_chain.crt'
  socket_private_key_location: '/full/path/to/file.key'

  #
  # Federation setup
  #

  # Diaspora is only tested against this default pubsub server. You probably don't want to change this.
  pubsub_server: 'https://pubsubhubbub.appspot.com/'

  #
  # Email setup
  #

  # Setting this to true enables Diaspora's "send email" functionality,
  # requiring meaningful smtp_* settings. These are options for RoR's
  # ActionMailer class.
  mailer_on: false

  # This chooses which mailer should be used. 'smtp' for a smtp
  # connection or 'sendmail' to use the sendmail binary.
  mailer_method: 'smtp'

  # Address/port to smtp server handling outgoing mail.
  smtp_address: 'smtp.example.com'
  smtp_port: '587'

  # Domain of smtp server.
  smtp_domain: 'example.com'

  # Sender address in Diaspora's outgoing mail.
  smtp_sender_address: 'no-reply@joindiaspora.com'

  # Authentication required to send mail. Use one of 'one', 'plain',
  # 'login' or 'cram-md5'. Use 'none' if server does not support
  # authentication
  smtp_authentication: 'plain'

  # Automatically enable TLS? Ignored if smtp_authentication is set to none
  smtp_starttls_auto: true

  # Credentials to log in to the SMTP server - may be necessary if
  # smtp_authentication is not 'none'
  smtp_username: 'smtp_username'
  smtp_password: 'secret'

  # The path to the sendmail binary.
  sendmail_location: '/usr/sbin/sendmail'

  #
  # Web tracking setup
  #

  # google analytics key - if false, no javascript included
  google_a_site: false

  # piwik integration - if not set, no javascript included
  piwik_id:
  # the site url in raw format (e.g. pikwik.examplehost.com)
  piwik_url:

  #
  # Miscellaneous setup
  #

  # cloudfiles username and api-key - used for backups
  cloudfiles_username: 'example'
  cloudfiles_api_key:  'abc123'

  # List of users who have admin privileges
  admins:
    - 'example_user1dsioaioedfhgoiesajdigtoearogjaidofgjo'

  # s3 config - if set, carrierwave will store your photos on s3. Otherwise they're on the filesystem.
  #s3_key: 'key'
  #s3_secret: 'secret'
  #s3_bucket: 'my_photos'
  s3_region: 'us-east-1'

  # Set this to true if you want to do everything synchronously instead of using resque, our redis-backed queue system.
  single_process_mode: true


# Use this section to override default settings in specific environments
development:
  <<: *defaults
  enable_splunk_logging: false

production:
  <<: *defaults
  single_process_mode: false

  # Setting the root certificate bundle (this is operating system specific). Defaults:
  # CentOS: '/etc/pki/tls/certs/ca-bundle.crt'
  # Debian: '/etc/ssl/certs/ca-certificates.crt'
  ca_file: '/etc/pki/tls/certs/ca-bundle.crt'

# Do not touch unless you know what you're doing
test:
  <<: *defaults
  pod_url: "http://localhost:9887"
  socket_port: 8081
  enable_splunk_logging: false
  open_invitations: false


integration_1:
  <<: *defaults
  pod_url: "http://localhost:45789"
  enable_splunk_logging: false
  
integration_2:
  <<: *defaults
  pod_url: "http://localhost:34658"
  enable_splunk_logging: false