Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
COMPOSE_PROJECT_NAME=sentry_onpremise
SENTRY_EVENT_RETENTION_DAYS=90
SENTRY_VERSION=latest
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ x-sentry-defaults: &sentry_defaults
context: ./sentry
args:
- SENTRY_IMAGE
- SENTRY_VERSION
image: sentry-onpremise-local
depends_on:
- redis
Expand All @@ -31,7 +32,7 @@ x-snuba-defaults: &snuba_defaults
- redis
- clickhouse
- kafka
image: 'getsentry/snuba:latest'
image: 'getsentry/snuba:$SENTRY_VERSION'
environment:
SNUBA_SETTINGS: docker
CLICKHOUSE_HOST: clickhouse
Expand Down Expand Up @@ -179,7 +180,7 @@ services:
- relay
relay:
<< : *restart_policy
image: "getsentry/relay:latest"
image: "getsentry/relay:$SENTRY_VERSION"
volumes:
- type: bind
read_only: true
Expand Down
3 changes: 2 additions & 1 deletion sentry/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ARG SENTRY_VERSION=latest
ARG SENTRY_IMAGE
FROM ${SENTRY_IMAGE:-getsentry/sentry:latest}
FROM ${SENTRY_IMAGE:-getsentry/sentry:$SENTRY_VERSION}

COPY . /usr/src/sentry

Expand Down