How to install Sentry on Debian 8? (unfinished)

installation
sentry
debian

(Dmitry Fedyuk) #1

Step 1

mkdir /usr/local/sentry && cd "$_"

Step 2

git clone https://github.com/getsentry/onpremise.git .

Step 3

Setting up config.yml:

# 2016-12-22
# https://docs.sentry.io/server/config/#mail
# The email address used for outbound email in the From header.
# Defaults to root@localhost.
# It’s highly recommended to change this value to ensure reliable email delivery.
mail.from: 'admin@dmitry-fedyuk.com'
mail.host: 'smtp.mailgun.org'
mail.password: '<...>'
mail.port: '587'
mail.username: 'postmaster@dmitry-fedyuk.com'
mail.use-tls: true

# 2016-12-22
# https://docs.sentry.io/server/config/#general
# The technical contact address for this installation.
# This will be reported to upstream to the Sentry team (as part of the Beacon),
# and will be the point of contact for critical updates and security notifications.
system.admin-email: 'admin@dmitry-fedyuk.com'

# 2016-12-22
# https://docs.sentry.io/server/config/#general
# The URL prefix in which Sentry is accessible.
# This will be used both for referencing URLs in the UI, as well as in outbound notifications.
system.url-prefix: '<...>'

# 2016-12-22
# https://docs.sentry.io/server/config/#general
# A secret key used for session signing.
# If this becomes compromised it’s important to regenerate it
# as otherwise its much easier to hijack user sessions.
system.secret-key: '<...>'

Step 4

Check your Docker version:

docker -v

Sentry needs at least Docker 1.10

Step 5

make build

Step 6

docker run --rm -it sentry-onpremise upgrade

I have got an error:

REDIS_PORT_6379_TCP_ADDR (or SENTRY_REDIS_HOST) is undefined