Minimum requirements for 'errors-only' profile (#3634)

Using the [errors-only](https://develop.sentry.dev/self-hosted/experimental/errors-only/) profile, fewer resources are required. About 2 times.
This commit is contained in:
Kliachin Aleksei 2025-03-27 12:14:02 +03:00 committed by GitHub
parent c32836714d
commit ae05091f9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,10 @@ MIN_COMPOSE_VERSION='2.32.2'
# 16 GB minimum host RAM, but there'll be some overhead outside of what
# can be allotted to docker
MIN_RAM_HARD=14000 # MB
MIN_CPU_HARD=4
if [[ "$COMPOSE_PROFILES" == "errors-only" ]]; then
MIN_RAM_HARD=7000 # MB
MIN_CPU_HARD=2
else
MIN_RAM_HARD=14000 # MB
MIN_CPU_HARD=4
fi