mirror of
https://github.com/getsentry/self-hosted.git
synced 2025-12-08 19:46:14 +00:00
chore: clearer message for errors-only mode (#3487)
This commit is contained in:
parent
92d7d836a3
commit
aebe5542d4
3
.env
3
.env
@ -1,4 +1,7 @@
|
||||
COMPOSE_PROJECT_NAME=sentry-self-hosted
|
||||
# Set COMPOSE_PROFILES to "feature-complete" to enable all features
|
||||
# To enable errors monitoring only, set COMPOSE_PROFILES=errors-only
|
||||
# See https://develop.sentry.dev/self-hosted/experimental/errors-only/
|
||||
COMPOSE_PROFILES=feature-complete
|
||||
SENTRY_EVENT_RETENTION_DAYS=90
|
||||
# You can either use a port number or an IP:PORT combo for SENTRY_BIND
|
||||
|
||||
@ -72,6 +72,18 @@ SENTRY_OPTIONS["system.event-retention-days"] = int(
|
||||
env("SENTRY_EVENT_RETENTION_DAYS", "90")
|
||||
)
|
||||
|
||||
# Self-hosted Sentry infamously has a lot of Docker containers required to make
|
||||
# all the features work. Oftentimes, users don't use the full feature set that
|
||||
# requires all the containers. This is a way to enable only the error monitoring
|
||||
# feature which also reduces the amount of containers required to run Sentry.
|
||||
#
|
||||
# To make Sentry work with all features, set `COMPOSE_PROFILES` to `feature-complete`
|
||||
# in your `.env` file. To enable only the error monitoring feature, set
|
||||
# `COMPOSE_PROFILES` to `errors-only`.
|
||||
#
|
||||
# See https://develop.sentry.dev/self-hosted/experimental/errors-only/
|
||||
SENTRY_SELF_HOSTED_ERRORS_ONLY = env("COMPOSE_PROFILES") != "feature-complete"
|
||||
|
||||
#########
|
||||
# Redis #
|
||||
#########
|
||||
@ -373,10 +385,6 @@ CSP_REPORT_ONLY = True
|
||||
# if you're using it directly like a CDN instead of using the loader script.
|
||||
JS_SDK_LOADER_DEFAULT_SDK_URL = "https://browser.sentry-cdn.com/%s/bundle%s.min.js"
|
||||
|
||||
|
||||
# If you would like to use self-hosted Sentry with only errors enabled, please set this
|
||||
SENTRY_SELF_HOSTED_ERRORS_ONLY = env("COMPOSE_PROFILES") != "feature-complete"
|
||||
|
||||
#####################
|
||||
# Insights Settings #
|
||||
#####################
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user