2
0
Clean and backupable on-premise deployment of Sentry using Docker COmpose
This repository has been archived on 2020-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2019-11-06 23:39:55 +03:00
.dockerignore chore(dockerignore): Ignore new CI/install files in Docker 2019-07-02 00:23:31 +03:00
.env.example fix(Dockerfile): Fix default IMAGE missing (#223) 2019-07-24 11:28:48 +03:00
.gitignore Fix possible typo in gitignore 2019-06-11 23:39:12 -07:00
.travis.yml build(travis): Use :latest tag for getsentry/sentry (#252) 2019-10-14 21:31:38 +03:00
config.yml Update config files 2016-11-07 09:13:03 -08:00
docker-compose.yml build(travis): Use :latest tag for getsentry/sentry (#252) 2019-10-14 21:31:38 +03:00
Dockerfile Declare ARG in Dockerfile. (#265) 2019-10-28 22:33:06 +03:00
install.sh fix(build): make version checker more robust in install (#260) 2019-10-24 01:14:53 +03:00
LICENSE meta(LICENSE): Switch to Business Source License 1.1 (#267) 2019-11-06 23:39:55 +03:00
Makefile Dockerfile & Makefile argument name mismatch (#232) 2019-07-29 17:55:35 +03:00
README.md Fix typo (#263) 2019-10-24 01:10:14 +03:00
requirements.txt Getting started 2016-02-11 13:52:19 -08:00
sentry.conf.py fix(uwsgi): Fix broken uWSGI config (#237) 2019-08-13 02:38:12 +03:00
test.sh feat(nightlies): Add ability to build from nightlies (#211) 2019-07-08 18:56:51 +03:00

Sentry On-Premise Build Status

Official bootstrap for running your own Sentry with Docker.

Requirements

  • Docker 17.05.0+
  • Compose 1.17.0+

Minimum Hardware Requirements:

  • You need at least 3GB RAM

Setup

To get started with all the defaults, simply clone the repo and run ./install.sh in your local check-out.

There may need to be modifications to the included docker-compose.yml file to accommodate your needs or your environment (such as adding GitHub credentials). If you want to perform these, do them before you run the install script.

The recommended way to customize your configuration is using the files below, in that order:

  • config.yml
  • sentry.conf.py
  • .env w/ environment variables

If you have any issues or questions, our Community Forum is at your service!

Securing Sentry with SSL/TLS

If you'd like to protect your Sentry install with SSL/TLS, there are fantastic SSL/TLS proxies like HAProxy and Nginx. You'll likely want to add this service to your docker-compose.yml file.

Updating Sentry

Updating Sentry using Compose is relatively simple. Just use the following steps to update. Make sure that you have the latest version set in your Dockerfile. Or use the latest version of this repository.

Use the following steps after updating this repository or your Dockerfile:

docker-compose build --pull # Build the services again after updating, and make sure we're up to date on patch version
docker-compose run --rm web upgrade # Run new migrations
docker-compose up -d # Recreate the services

Resources