You can visit now http://sentry.mydomain.com (assuming sentry.mydomain.comis mapped to your docker host) and login with default credentials(username admin and password admin) and create your first team and project.

Your sqlite database file and gunicorn logs are available in /tmp/sentry directory.

Advanced usage

Copy the file with environment variables environment.example e.g cp environment.example environmentand after tweaking some values run sentry like this

ENTRYPOINT for this image is a little wrapper script around default sentry executable.Default CMD is start which runs upgrade command (initializes and upgrades the database)and creates a default administrator (superuser) and then runs a http service (as in sentry --config=... start).

All commands and args are passed to the sentry executable. This means

docker run [docker options] onjin/sentry-with-plugins --help

refers to running:

sentry --config=/conf/sentry.conf.py --help

inside the container.

Admin user

You can specify a username, password and email address to create an initial sentry administrator.

You can also set a different BROKER_URL via environment file by adding this:SENTRY_BROKER_URL=redis://otherredishost:6379/1

You can run as many celery worker containers as you want but remember that only one of them should be run with -B option.

Time-series storage with redis

To have time-series data you must addSENTRY_USE_REDIS_TSDB=True to the environment file.

By default Redis time-series storage will use the Redis connectiondefined by SENTRY_REDIS_HOST and SENTRY_REDIS_PORT. Similarlyto configuring buffers, you can set SENTRY_REDIS_TSDBS to a listof Redis servers: SENTRY_REDIS_TSDBS=redis1:6379,redis2:6380

###Email

You can configure all email settingsby environment variables with SENTRY_ prefix.You have to also change an email backend and set itto SENTRY_EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend or something similar.

###LDAPWith this image You should be able to easily configure LDAP authentication for your Sentry instance.To enable it add SENTRY_USE_LDAP=True to your environment file.Then set the needed options by adding env variables with LDAP_prefix (see the table below). LDAP authentication backend is provided bydjango-auth-ldap.