Skip to content

Commit ae05091

Browse files
authored
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.
1 parent c328367 commit ae05091

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

install/_min-requirements.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ MIN_COMPOSE_VERSION='2.32.2'
44

55
# 16 GB minimum host RAM, but there'll be some overhead outside of what
66
# can be allotted to docker
7-
MIN_RAM_HARD=14000 # MB
8-
9-
MIN_CPU_HARD=4
7+
if [[ "$COMPOSE_PROFILES" == "errors-only" ]]; then
8+
MIN_RAM_HARD=7000 # MB
9+
MIN_CPU_HARD=2
10+
else
11+
MIN_RAM_HARD=14000 # MB
12+
MIN_CPU_HARD=4
13+
fi

0 commit comments

Comments
 (0)