forked from ooyala/barkeep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
environment.rb
36 lines (28 loc) · 1.4 KB
/
environment.rb
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
DB_HOST = "localhost"
DB_PORT = 3306
DB_NAME = "barkeep_db"
DB_USER = "barkeep"
DB_PASSWORD = "acc2bark3p"
# These are the credentials of the Gmail account that you want to send mail as.
# NOTE(philc): We may want to make configuration variables which generically support SMTP.
GMAIL_ADDRESS = ""
GMAIL_PASSWORD = ""
# This a list of paths to git repos we should watch.
REPOS_ROOT = "#{ENV["HOME"]}/barkeep_repos"
# This hostname is used to construct links in the commit emails.
BARKEEP_HOSTNAME = "localhost:8080"
REDIS_HOST = "localhost"
REDIS_PORT = 6379
# A comma-separate list of OpenID provider URLs for signing in your users.
# If you provide more than one, users will receive a UI allowing to pick which service to use to authenticate.
# Besides Google, another popular OpenID endpoint is https://me.yahoo.com
#OPENID_PROVIDERS = "https://www.google.com/accounts/o8/ud"
OPENID_PROVIDERS = "https://www.google.com/accounts/o8/ud"
# This is the read-only demo mode which is used in the Barkeep demo linked from getbarkeep.com.
# Most production deployments will not want to enable the demo mode, but we want it while developing.
ENABLE_READONLY_DEMO_MODE = true
# If specified, this will be used as the session secret in development mode.
# This prevents the session being cleared when sinatra reloads changes.
COOKIE_SESSION_SECRET = "AssimilationSuccessful"
# The number of resque workers to spawn
RESQUE_WORKERS = 2