Sentry Docker image, deployable as an Aptible app.
To run as an app on Aptible:
-
Provision a PostgreSQL database, either from the Aptible Dashboard or the Aptible CLI.
-
Provision a Redis database, either from the Aptible Dashboard or the Aptible CLI.
-
Configure the following environment variables for your Sentry app:
- SENTRY_SECRET_KEY
- SENTRY_POSTGRES_HOST
- SENTRY_POSTGRES_PORT
- SENTRY_DB_NAME
- SENTRY_DB_USER
- SENTRY_DB_PASSWORD
- SENTRY_REDIS_HOST
- SENTRY_REDIS_PASSWORD
- SENTRY_REDIS_PORT
- SENTRY_REDIS_DB
-
Clone this repository and push it to your Aptible app:
git clone https://github.com/aptible/docker-sentry.git cd docker-sentry git remote add aptible [email protected]:YOUR_APP_HANDLE.git git push aptible master
-
Create the first super user
aptible ssh --app YOUR_APP_HANDLE sentry createuser --email [email protected] --password verysecret123 --superuser
You should be up and running now. If you're new to Sentry, try checking out the official documentation.
You may want to update the Organization name, and/or lock down membership at http://<YOUR_SENTRY_APP>/organizations/sentry/settings/
Sentry supports configuration of many of the app settings via environment variables.
This repository also includes the following extensions:
- sentry-auth-google for single sign on (SSO) using Google Apps
- sentry-slack for posting notifications to Slack channels
Refer to each extensions' project pages for configuration instructions.
Additional plugins can be installed by adding them to requirements.txt
MIT License, see LICENSE for details.
Copyright (c) 2015 Aptible and contributors.
- Frank Macreery (@fancyremarker)
- Ozan Onay (@ozan) for implementing the Dockerized distribution of Sentry
- Ian Yamey (@ianyamey)