-
Notifications
You must be signed in to change notification settings - Fork 586
/
Copy pathproduction.env.example
103 lines (81 loc) · 3.23 KB
/
production.env.example
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
## Cabot UI URL setup
# Base path to include before generated URLs. If not defined, uses `/`
# URL_PREFIX=/
# Used for pointing links back in alerts etc.
WWW_HTTP_HOST=cabot.example.com
# Probable values: http, https
WWW_SCHEME=http
## Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
TIME_ZONE=Etc/UTC
## URL of calendar to synchronise rota with
CALENDAR_ICAL_URL=http://www.google.com/calendar/ical/example.ics
## Django admin email, 'from' address for email alerts
ADMIN_EMAIL=you@example.com
CABOT_FROM_EMAIL=noreply@example.com
## Django settings
CELERY_BROKER_URL=redis://:yourredispassword@localhost:6379/1
# Create a random string of mixed case alphanumeric characters, > 40 chars.
# https://www.browserling.com/tools/random-string is a site that can do this
DJANGO_SECRET_KEY=CREATE_A_KEY
## Graphite server settings
# Hostname of your Graphite server instance (including trailing slash)
GRAPHITE_API=http://graphite.example.com/
GRAPHITE_USER=username
GRAPHITE_PASS=password
# Graphite stats are evaluated through a time period to identify transient
# failures. This setting determines how many minutes back a test should
# evaluate.
# If not defined, evaluate 'now through 10 minutes ago' (-10minute)
# GRAPHITE_FROM=-10minute
## User-Agent string used for Cabot HTTP checks
HTTP_USER_AGENT=Cabot
## Email plugin integration
EMAIL_HOST=smtp.example.com
# SMTP authentication settings. To disable SMTP authentication, comment out
# both EMAIL_USER and EMAIL_PASSWORD.
EMAIL_USER=smtp_username
EMAIL_PASSWORD=smtp_password
# Typical SMTP port 587 configuration
EMAIL_PORT=587
EMAIL_USE_TLS=1
EMAIL_USE_SSL=0
# Typical SMTP port 25 configuration (with no SSL/TLS)
# EMAIL_PORT=587
# EMAIL_USE_TLS=0
# EMAIL_USE_SSL=0
## Hipchat plugin integration
HIPCHAT_ALERT_ROOM=room_name_or_id
HIPCHAT_API_KEY=your_hipchat_api_key
## SLACK
SLACK_ALERT_CHANNEL=channel_name
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/XXXXXX/YYYYYY/ZZZZZZ
# SLACK_INTERACTIVE_MESSAGE=True # uncomment if you have cabot added as an app with interactive messages enabled
## Twilio plugin integration (for SMS and telephone alerts)
TWILIO_ACCOUNT_SID=your_account_sid
TWILIO_AUTH_TOKEN=your_auth_token
TWILIO_OUTGOING_NUMBER=+14155551234
## Jenkins integration
JENKINS_API=https://jenkins.example.com/
JENKINS_USER=username
JENKINS_PASS=password
## Use for LDAP authentication
AUTH_LDAP=true
AUTH_LDAP_SERVER_URI=ldap://ldap.example.com
AUTH_LDAP_BIND_DN="cn=Manager,dc=example,dc=com"
AUTH_LDAP_BIND_PASSWORD=""
AUTH_LDAP_USER_FILTER="(uid=%(user)s)"
AUTH_LDAP_USER_SEARCH="ou=People,dc=example,dc=com"
###########################################################################
## You shouldn't need to change anything below this line #
###########################################################################
## Plugins to be loaded at launch
# CABOT_PLUGINS_ENABLED=cabot_alert_email,cabot_alert_hipchat,cabot_alert_twilio,cabot_alert_slack
## Database settings
DATABASE_URL=postgres://cabot:cabot@localhost:5432/index
DJANGO_SETTINGS_MODULE=cabot.settings
DEBUG=False
LOG_FILE=/dev/null
## Cabot localhost operating port (point a reverse proxy to here or use Caddy)
PORT=5000
VENV=/home/ubuntu/venv