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 an Aptible app, either from the Aptible Dashboard or the Aptible CLI.
-
Configure the following (required and optional) environment variables for your Sentry app:
Variable Description Required? Default Value ADMIN_PASSWORDAdmin password Yes - DATABASE_URLPostgreSQL database URL Yes - SENTRY_URL_PREFIXBase URL for server Yes - ADMIN_USERNAMEAdmin username for Sentry No aptibleTEAM_NAMETeam name No AptibleSECRET_KEYSecret key for DSN clients sending events No (random) SENTRY_KEYSentry key No (random) GITHUB_APP_IDGitHub OAuth application ID (for GitHub integration) No - GITHUB_API_SECRETGitHub API secret No - SSLIFY_DISABLEDisable forced HTTPS redirection? No FalseMAILGUN_SERVER_NAMEYour email domain (eg yourcompany.com) No - MAILGUN_ACCESS_KEYMailgun API Key No - -
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 git@beta.aptible.com:YOUR_APP_HANDLE.git git push aptible master
You should be up and running now. If you're new to Sentry, try checking out the official documentation.
Very special thanks to Ozan Onay (@ozan) for implementing the Dockerized distribution of Sentry which we've released with minor modifications in this repo.
MIT License, see LICENSE for details.
Copyright (c) 2016 Aptible and contributors.