-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.cfg
More file actions
49 lines (44 loc) · 1.65 KB
/
app.cfg
File metadata and controls
49 lines (44 loc) · 1.65 KB
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
## REQUIRED CONFIGURATION ##
# The port to deploy Rubberband on
port = 8888
# Set num_processes to 0 in production for best scaling
# http://www.tornadoweb.org/en/stable/tcpserver.html#tornado.tcpserver.TCPServer.start
num_processes = 0
prod_url = "https://rubberband.example.com"
# The api token that Rubberband uses to authentication API requests
api_token = "TOKENTOAUTHENTICATEAPIREQUESTS"
# The cookie secret
cookie_secret = "SOMETHINGSECRET"
# The elasticsearch connection url
elasticsearch_url = "http://127.0.0.1:9200"
# Always verify certificates for production
elasticsearch_verify_certs = True
# path to CA certificates
elasticsearch_ca_certs = "/etc/ssl/certs/ca-certificates.crt"
# Elasticsearch connection credentials if security is enabled
elasticsearch_user = "elastic"
elasticsearch_password = "password"
## OPTIONAL CONFIGURATION ##
# the private token of the Gitlab user that Rubberband communicates as
gitlab_private_token = "SUPERSECRETETOKEN"
# the url of the connected Gitlab instance
gitlab_url = "https://gitlab.example.com"
# the project ids for the repositories that Rubberband interacts with
gitlab_project_ids = {
"scip": "57",
"genios": "57",
"soplex": "56",
"logs": "248",
}
# The gitlab group name that Rubberband users will belong to
gitlab_group_name = "integer"
# SMTP connection info. Learn more about using Google's SMTP service here:
# https://support.google.com/a/answer/176600?hl=en
smtp_host = "smtp.gmail.com"
smtp_port = "465"
# the "From" email address
smtp_from_address = "someusername@gmail.com"
# SMTP authentication username
smtp_username = "someusername"
# SMTP authentication paassword
smtp_password = "STMPSECRETPASS"