/ conf / production.env.example
production.env.example
  1  ## Cabot UI URL setup
  2  # Base path to include before generated URLs.  If not defined, uses `/`
  3  # URL_PREFIX=/
  4  
  5  # Used for pointing links back in alerts etc.
  6  WWW_HTTP_HOST=cabot.example.com
  7  # Probable values: http, https
  8  WWW_SCHEME=http
  9  
 10  ## Local time zone for this installation. Choices can be found here:
 11  # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
 12  TIME_ZONE=Etc/UTC
 13  
 14  ## URL of calendar to synchronise rota with
 15  CALENDAR_ICAL_URL=http://www.google.com/calendar/ical/example.ics
 16  
 17  ## Django admin email, 'from' address for email alerts
 18  ADMIN_EMAIL=you@example.com
 19  CABOT_FROM_EMAIL=noreply@example.com
 20  
 21  ## Django settings
 22  CELERY_BROKER_URL=redis://:yourredispassword@localhost:6379/1
 23  # Create a random string of mixed case alphanumeric characters, > 40 chars.
 24  # https://www.browserling.com/tools/random-string is a site that can do this
 25  DJANGO_SECRET_KEY=CREATE_A_KEY
 26  
 27  ## Graphite server settings
 28  # Hostname of your Graphite server instance (including trailing slash)
 29  GRAPHITE_API=http://graphite.example.com/
 30  GRAPHITE_USER=username
 31  GRAPHITE_PASS=password
 32  
 33  # Graphite stats are evaluated through a time period to identify transient
 34  # failures. This setting determines how many minutes back a test should
 35  # evaluate.
 36  # If not defined, evaluate 'now through 10 minutes ago' (-10minute)
 37  # GRAPHITE_FROM=-10minute
 38  
 39  ## User-Agent string used for Cabot HTTP checks
 40  HTTP_USER_AGENT=Cabot
 41  
 42  ## Email plugin integration
 43  EMAIL_HOST=smtp.example.com
 44  # SMTP authentication settings. To disable SMTP authentication, comment out
 45  #  both EMAIL_USER and EMAIL_PASSWORD.
 46  EMAIL_USER=smtp_username
 47  EMAIL_PASSWORD=smtp_password
 48  
 49  # Typical SMTP port 587 configuration
 50  EMAIL_PORT=587
 51  EMAIL_USE_TLS=1
 52  EMAIL_USE_SSL=0
 53  
 54  # Typical SMTP port 25 configuration (with no SSL/TLS)
 55  # EMAIL_PORT=587
 56  # EMAIL_USE_TLS=0
 57  # EMAIL_USE_SSL=0
 58  
 59  ## Hipchat plugin integration
 60  HIPCHAT_ALERT_ROOM=room_name_or_id
 61  HIPCHAT_API_KEY=your_hipchat_api_key
 62  
 63  ## SLACK
 64  SLACK_ALERT_CHANNEL=channel_name
 65  SLACK_WEBHOOK_URL=https://hooks.slack.com/services/XXXXXX/YYYYYY/ZZZZZZ
 66  # SLACK_INTERACTIVE_MESSAGE=True # uncomment if you have cabot added as an app with interactive messages enabled
 67  
 68  ## Twilio plugin integration (for SMS and telephone alerts)
 69  TWILIO_ACCOUNT_SID=your_account_sid
 70  TWILIO_AUTH_TOKEN=your_auth_token
 71  TWILIO_OUTGOING_NUMBER=+14155551234
 72  
 73  ## Jenkins integration
 74  JENKINS_API=https://jenkins.example.com/
 75  JENKINS_USER=username
 76  JENKINS_PASS=password
 77  
 78  ## Use for LDAP authentication
 79  AUTH_LDAP=true
 80  AUTH_LDAP_SERVER_URI=ldap://ldap.example.com
 81  AUTH_LDAP_BIND_DN="cn=Manager,dc=example,dc=com"
 82  AUTH_LDAP_BIND_PASSWORD=""
 83  AUTH_LDAP_USER_FILTER="(uid=%(user)s)"
 84  AUTH_LDAP_USER_SEARCH="ou=People,dc=example,dc=com"
 85  
 86  ###########################################################################
 87  ## You shouldn't need to change anything below this line                  #
 88  ###########################################################################
 89  
 90  ## Plugins to be loaded at launch
 91  # CABOT_PLUGINS_ENABLED=cabot_alert_email,cabot_alert_hipchat,cabot_alert_twilio,cabot_alert_slack
 92  
 93  ## Database settings
 94  DATABASE_URL=postgres://cabot:cabot@localhost:5432/index
 95  DJANGO_SETTINGS_MODULE=cabot.settings
 96  
 97  DEBUG=False
 98  LOG_FILE=/dev/null
 99  
100  ## Cabot localhost operating port (point a reverse proxy to here or use Caddy)
101  PORT=5000
102  
103  VENV=/home/ubuntu/venv