Sentry On-Premise setup
  • Python 72.5%
  • Shell 23.7%
  • Makefile 3.4%
  • Dockerfile 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Erik Johnston cbe2ba9cae 9.1.2
-----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEETrqalMx9xlmIZiZywvA8QGYxBl0FAl7H5KgACgkQwvA8QGYx
 Bl2FHAf/fazuHJOitO8/oKjz3fZxdG5cVhVH/WI0P0tma5wZFsWkhaoNxNK2qVGy
 3JZ0i7h+RnX5ixvKKwRi7Gmt5Zxm2Hg6z+pO7dTZ4kqkKho+h/cuqVPs+SHYqNFL
 W3LwEuH4MVNsunT8Bfq9z6Fj1naw0f5TGvXLlr6dtlhIqF44cJRibxz2FNgRkciu
 JuMPEQ2Qz038siDBC/yrsFvETeYEUsKDDJ6WwJNAXl5TMJ38cpe3BP1Rm2MAG8ek
 wB1yhh3VSVHigaYbjVwFgSWTHaYMqCR83g9uNuHwHNIrR69hU+XVkY2M85Te8/hS
 p13FUudArjdqZcRHlhtbba0SSH37BA==
 =h1Yi
 -----END PGP SIGNATURE-----

Merge tag '9.1.2' of github.com:getsentry/onpremise

9.1.2
2020-06-16 16:12:57 +01: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 fix(postgres): Backport 6979959a710e74038472b4380bb5cc447e853690 to 9.1.2 2020-05-22 17:40:31 +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