mirror of
https://github.com/getsentry/self-hosted.git
synced 2025-12-08 19:46:14 +00:00
* feat: Use S3 node store with garage * lol, fix bash * moar bash * lol * hate bash * fix moar bash * Add healthcheck to garage service Co-authored-by: Reinaldy Rafli <aldy505@proton.me> * revert +x * fix healthcheck, fix config * add env var for garage size * use better compression level * simpler garage config * add migration support * feat: use seaweedfs as nodestore backend (#3842) * feat: seaweedfs as s3 nodestore backend * fix: 'server' was missing for seaweed * feat: remove minimum volume free space * feat: specify hostname on ip * fix: grpc port on seaweed should be `-{service}.port.grpc` instead of `-{service}.grpcPort` * fix: wrong access key & secret key; use localhost for internal comms * fix: create index directory * test: add sentry-seaweedfs volume into expected volumes * debug: aaaaaaaaaaaaaaaaaaaaaaarrrrggggggghhhhhhhhhhhhhhh * test: correct ordering for expected volumes * chore: seaweedfs healthcheck to multiple urls See https://stackoverflow.com/a/14578575/3153224 * chore: add swap for arm64 runners * ci: debug memory issues for arm64 runners * ci: turn off swapfile first Turns out the arm64 runners already have 3GB of swap * feat: nodestore config update behind a prompt/flag * feat: set s3 lifecycle policy * fix: seaweed is a busybox * fix: try xml policy * fix: go back to simplified json * Revert "fix: go back to simplified json" This reverts commit 2f1575dfe33db6f781b09d09b01f5382716b8826. * chore: reword debug lifecycle policy * fix: don't pollute APPLY_AUTOMATIC_CONFIG_UPDATES variable --------- Co-authored-by: Reinaldy Rafli <github@reinaldyrafli.com>
16 lines
515 B
Docker
16 lines
515 B
Docker
ARG SENTRY_IMAGE
|
|
FROM ${SENTRY_IMAGE}
|
|
|
|
RUN pip install https://github.com/stayallive/sentry-nodestore-s3/archive/main.zip
|
|
|
|
COPY . /usr/src/sentry
|
|
|
|
RUN if [ -s /usr/src/sentry/enhance-image.sh ]; then \
|
|
/usr/src/sentry/enhance-image.sh; \
|
|
fi
|
|
|
|
RUN if [ -s /usr/src/sentry/requirements.txt ]; then \
|
|
echo "sentry/requirements.txt is deprecated, use sentry/enhance-image.sh - see https://develop.sentry.dev/self-hosted/#enhance-sentry-image"; \
|
|
pip install -r /usr/src/sentry/requirements.txt; \
|
|
fi
|