Initial commit
This commit is contained in:
commit
b16f2585c7
19 changed files with 690 additions and 0 deletions
106
templates/sentry.config.j2
Normal file
106
templates/sentry.config.j2
Normal file
|
|
@ -0,0 +1,106 @@
|
|||
# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
#
|
||||
# While a lot of configuration in Sentry can be changed via the UI, for all
|
||||
# new-style config (as of 8.0) you can also declare values here in this file
|
||||
# to enforce defaults or to ensure they cannot be changed via the UI. For more
|
||||
# information see the Sentry documentation.
|
||||
|
||||
###############
|
||||
# Mail Server #
|
||||
###############
|
||||
|
||||
# mail.backend: 'smtp' # Use dummy if you want to disable email entirely
|
||||
mail.host: 'smtp'
|
||||
# mail.port: 25
|
||||
# mail.username: ''
|
||||
# mail.password: ''
|
||||
# mail.use-tls: false
|
||||
# The email address to send on behalf of
|
||||
# mail.from: 'root@localhost'
|
||||
|
||||
# If you'd like to configure email replies, enable this.
|
||||
# mail.enable-replies: true
|
||||
|
||||
# When email-replies are enabled, this value is used in the Reply-To header
|
||||
# mail.reply-hostname: ''
|
||||
|
||||
# If you're using mailgun for inbound mail, set your API key and configure a
|
||||
# route to forward to /api/hooks/mailgun/inbound/
|
||||
# Also don't forget to set `mail.enable-replies: true` above.
|
||||
# mail.mailgun-api-key: ''
|
||||
|
||||
###################
|
||||
# System Settings #
|
||||
###################
|
||||
# The URL prefix in which Sentry is accessible. This will be used both for referencing
|
||||
# URLs in the UI, as well as in outbound notifications. This only works for scheme, hostname and port.
|
||||
system.url-prefix: "{{ app_url }}"
|
||||
|
||||
# If this file ever becomes compromised, it's important to generate a new key.
|
||||
# Changing this value will result in all current sessions being invalidated.
|
||||
# A new key can be generated with `$ sentry config generate-secret-key`
|
||||
system.secret-key: '{{ app_key }}'
|
||||
|
||||
# The ``redis.clusters`` setting is used, unsurprisingly, to configure Redis
|
||||
# clusters. These clusters can be then referred to by name when configuring
|
||||
# backends such as the cache, digests, or TSDB backend.
|
||||
# redis.clusters:
|
||||
# default:
|
||||
# hosts:
|
||||
# 0:
|
||||
# host: 127.0.0.1
|
||||
# port: 6379
|
||||
|
||||
################
|
||||
# File storage #
|
||||
################
|
||||
|
||||
# Uploaded media uses these `filestore` settings. The available
|
||||
# backends are either `filesystem` or `s3`.
|
||||
|
||||
filestore.backend: 'filesystem'
|
||||
filestore.options:
|
||||
location: '/data/files'
|
||||
dsym.cache-path: '/data/dsym-cache'
|
||||
releasefile.cache-path: '/data/releasefile-cache'
|
||||
|
||||
# filestore.backend: 's3'
|
||||
# filestore.options:
|
||||
# access_key: 'AKIXXXXXX'
|
||||
# secret_key: 'XXXXXXX'
|
||||
# bucket_name: 's3-bucket-name'
|
||||
|
||||
system.internal-url-prefix: 'http://web:9000'
|
||||
symbolicator.enabled: true
|
||||
symbolicator.options:
|
||||
url: "http://symbolicator:3021"
|
||||
|
||||
transaction-events.force-disable-internal-project: true
|
||||
|
||||
######################
|
||||
# GitHub Integration #
|
||||
######################
|
||||
|
||||
# github-app.id: GITHUB_APP_ID
|
||||
# github-app.name: 'GITHUB_APP_NAME'
|
||||
# github-app.webhook-secret: 'GITHUB_WEBHOOK_SECRET' # Use only if configured in GitHub
|
||||
# github-app.client-id: 'GITHUB_CLIENT_ID'
|
||||
# github-app.client-secret: 'GITHUB_CLIENT_SECRET'
|
||||
# github-app.private-key: |
|
||||
# -----BEGIN RSA PRIVATE KEY-----
|
||||
# privatekeyprivatekeyprivatekeyprivatekey
|
||||
# privatekeyprivatekeyprivatekeyprivatekey
|
||||
# privatekeyprivatekeyprivatekeyprivatekey
|
||||
# privatekeyprivatekeyprivatekeyprivatekey
|
||||
# privatekeyprivatekeyprivatekeyprivatekey
|
||||
# -----END RSA PRIVATE KEY-----
|
||||
|
||||
#####################
|
||||
# Slack Integration #
|
||||
#####################
|
||||
|
||||
# Refer to https://forum.sentry.io/t/how-to-configure-slack-in-your-on-prem-sentry/3463 for setup instructions.
|
||||
|
||||
# slack.client-id: <'client id'>
|
||||
# slack.client-secret: <client secret>
|
||||
# slack.verification-token: <verification token>
|
||||
Reference in a new issue