diaspora/config/defaults.yml
Jonne Haß 79a79d65d6 Bye Resque. Ohai Sidekiq.
* Dropped all references to Resque
* Moved all jobs under app/workers since that's the Sidekiq convention
* Renamed Jobs module to Worker to match new location
* Adapted all jobs to Sidekiq
* Replaced all enqueue calls with perform_async
* Dropped Resque hacks from specs and features, replaced with
  sidekig/testing in RSpec and sidekig/testing/inline in Cucumber
* Updated scripts to start a Sidekiq server
* Inline Sidekiq sinatra app
* Let Sidekiq create the actual Redis instance
* Workaround already initialized constant warnings in service models
* Resolved ToDo in one job definition by creating proper exception clases
  for some errors in receiving posts
* Added sidekiq section to configuration to make it completly
  configurable to the user
* Add Sidekiq middleware for clean backtraces
* Delay HttpMulti retry to give offline pods a chance to come back up
* Do not retry on GUID already taken and alike errors
* Be graceful about deleted posts in GatherOEmbedData
2013-03-21 23:39:07 +01:00

141 lines
2.9 KiB
YAML

#######################################################################
############### DO NOT TOUCH ANYTHING BELOW THIS ######################
#######################################################################
defaults:
version:
number: "head" # Do not touch unless doing a release, do not backport the version number that's in master but keep develp to always say "head"
heroku: false
environment:
url: "http://localhost:3000/"
certificate_authorities:
redis:
require_ssl: true
single_process_mode: false
sidekiq:
namespace: "diaspora"
concurrency: 5
retry: 10
timeout: 900
backtrace: 15
log: "log/sidekiq.log"
s3:
enable: false
key:
secret:
bucket:
region:
cache: true
image_redirect_url:
assets:
serve: false
upload: false
host:
pubsub_server: 'https://pubsubhubbub.appspot.com/'
server:
port: 3000
rails_environment: 'development'
stderr_log:
stdout_log:
database: 'mysql'
unicorn_worker: 2
embed_sidekiq_worker: false
privacy:
jquery_cdn: true
google_analytics_key:
piwik:
enable: false
host:
site_id:
mixpanel_uid:
chartbeat_uid:
settings:
pod_name: "Diaspora*"
enable_registrations: true
follow_diasporahq: true
invitations:
open: true
count: 25
paypal_hosted_button_id:
community_spotlight:
enable: false
suggest_email:
typhoeus_verbose: false
services:
facebook:
enable: false
app_id:
secret:
twitter:
enable: false
key:
secret:
tumblr:
enable: false
key:
secret:
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:
podmin_email:
development:
environment:
assets:
serve: true
single_process_mode: true
require_ssl: false
server:
unicorn_worker: 1
settings:
follow_diasporahq: false
production:
i_am_a_dummy: # Remove if you add an actual override
test:
environment:
url: "http://localhost:9887/"
single_process_mode: true
require_ssl: false
assets:
serve: true
settings:
follow_diasporahq: false
invitations:
open: true
services:
facebook:
enable: true
app_id: 'fake'
secret: 'sdoigjosdfijg'
mail:
enable: true
integration1:
environment:
url: "http://localhost:45789/"
single_process_mode: true
assets:
serve: true
require_ssl: false
integration2:
environment:
url: "http://localhost:34658/"
single_process_mode: true
assets:
serve: true
require_ssl: false