forked from ooyala/barkeep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
environment.rb
43 lines (33 loc) · 1.69 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
37
38
39
40
41
42
43
DB_HOST = "localhost"
DB_PORT = 3306
DB_NAME = "barkeep"
DB_USER = "root"
DB_PASSWORD = ""
# 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:8040"
REDIS_HOST = "localhost"
REDIS_PORT = 6379
# These Redis databases are used by Barkeep for caching and Resque jobs. Redis uses integers for DB names.
REDIS_DB = 0
REDIS_DB_FOR_RESQUE = 1
# 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"
# 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
# A comma-separated list of permitted users, to restrict access to barkeep. If unset, any user can log in
# via their Gmail account. This feature is a work in progress and not ready for general use; see #361.
PERMITTED_USERS = ""