• Stars
    star
    3
  • Rank 3,963,521 (Top 79 %)
  • Language
    Python
  • License
    MIT License
  • Created over 6 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Dockerized Sentry.IO Exception tracking system based on Debian w/LDAP and SAML

hub.docker.com/tiredofit/sentry

Introduction

Dockerfile to build a Sentry container image.

  • This Container uses Debian Stretch as a base which includes s6 overlay enabled for PID 1 Init capabilities, zabbix-agent based on 3.4 Packages for individual container monitoring, Cron also installed along with other tools (bash,curl, less, logrotate, mariadb-client, nano, vim) for easier management.

  • LDAP Functionality included

  • SSO Functionality included

Changelog

Authors

Table of Contents

Prerequisites

This image assumes that you are using a reverse proxy such as jwilder/nginx-proxy and optionally the Let's Encrypt Proxy Companion @ https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion in order to serve your pages. However, it will run just fine on it's own if you map appropriate ports.

You will need a Redis server and also a Postgresql 9.6 DB Server

Installation

Automated builds of the image are available on Registry and is the recommended method of installation.

docker pull /tiredofit/sentry:(imagetag)

The following image tags are available:

  • latest - Most recent release of Sentry w/most recent Debian Stretch

Quick Start

Configuration

Data-Volumes

The following directories are used for configuration and can be mapped for persistent storage.

Directory Description
/etc/sentry If you would like to use your own configuration, expose this folder.
/var/lib/sentry/files Sentry Data

Database

An external Postgresql Database is required for using this image. Additionally, you must have access to a Redis Server

Environment Variables

Along with the Environment Variables from the Base image (tiredfoit/debian:stretch), below is the complete list of available options that can be used to customize your installation.

Parameter Description
DB_HOST Name of Postgresql Container e.g. sentry-db
DB_PORT Port of Postgresql Container Default 5432
DB_NAME Name of Postgresql Database
DB_USER Username for Postgresql Database
DB_PASS Username for Postgresql Database
RABBITMQ_HOST RabbitMQ Hostname if utilized
RABBITMQ_USER Username for Postgresql Database
RABBITMQ_PASS Password for RabbitMQ if used
RABBITMQ_VHOST RabbitMQ Vhostname if used
REDIS_HOST Redis Server Container e.g. sentry-redis
REDIS_PASS Redis Password if used
REDIS_PORT Redis Port number Default 6379
REDIS_DB Redis DB Number if required
MEMCACHED_HOST Memcached Container name e.g. sentry-memcached
MEMCACHED_PORT Memcached Port Default 11211
SERVER_EMAIL Default Server FROM address
SMTP_HOST SMTP Server Hostname
SMTP_PORT SMTP Server Port
SMTP_USER Username for SMTP Server if used
SMTP_PASS Password for SMTP Server if used
SMTP_USE_TLS Use TLS with SMTP True or False Default False
ENABLE_EMAIL_REPLIES Enable Email Replies True or False Default False
SMTP_HOSTNAME What is the hostname you with to advertise yourself as ..
MAILGUN_API_KEY Mailgun API key if used
SINGLE_ORGANIZATION Enable Single Organizations True/False Default True
SECRET_KEY 32 character long secret key
GITHUB_APP_ID If using Github, enter AppID
GITHUB_API_SECRET API for Github
BITBUCKET_CONSUMER_KEY If using Bitbucket, enter Key
BITBUCKET_CONSUMER_SECRET Bitbucket Key

LDAP / SSO Functionality:

Parameter Description
LDAP_ENABLE Enable Ldap Support TRUE/FALSE Default FALSE
LDAP_BASE_DN LDAP Base DN e.g. dc=example,dc=com
LDAP_BIND_USER Bind user e.g. cn=admin,dc=example,dc=com
LDAP_BIND_PASSWORD LDAP Bind Password
LDAP_URI URI of LDAP Server e.g. ldap://ldap.example.com
LDAP_DOMAIN @suffix for members who don't have mail attribute e.g. example.com
LDAP_FIND_GROUP_PERMS Find Group Permisions True/False Default True
LDAP_CACHE_GROUPS Cache Groups True/False Default True
LDAP_GROUP_CACHE_TIMEOUT Group Cache Timeout in seconds Default: 3600
LDAP_UID_ATTR UID attribute Default uid
LDAP_NAME_ATTR Name Attribute Default cn
LDAP_MAIL_ATTR Mail Attribute Default mail
LDAP_USER_SCOPE User Search scope Default (mail=%(user)s)
LDAP_GROUP_SCOPE Group Search Scope Default (objectClass=groupOfUniqueNames)
LDAP_ORGANIZATION_NAME Organization Name to place members in Default sentry
LDAP_AUTO_ADD_ROLE_TYPE Role type auto added users are assigned Default member
LDAP_AUTO_ADD_GLOBAL Autocreated users should be granted global access to org Default False

Networking

The following ports are exposed.

Port Description
9000 Sentry UWSGI

Maintenance

Shell Access

For debugging and maintenance purposes you may want access the containers shell.

docker exec -it (whatever your container name is e.g. sentry) bash

References

More Repositories

1

docker-freepbx

Dockerized FreePBX 15 w/Asterisk 17, Seperate MySQL Database support, and Data Persistence and UCP
496
star
2

docker-db-backup

Backup multiple database types on a scheduled basis with many customizable options
Dockerfile
472
star
3

docker-traefik-cloudflare-companion

Automatically Create CNAME records for containers served by Traefik
Python
274
star
4

docker-freescout

Dockerized Freescout Helpdesk
Dockerfile
146
star
5

docker-self-service-password

Dockerized LDAP Tollbox Self Service Password Changer with many customizable options
Dockerfile
115
star
6

docker-nginx-php-fpm

Dockerized Nginx + PHP FPM images with many customizable options
Dockerfile
106
star
7

docker-openldap

Dockerized OpenLDAP server with many customizable options
99
star
8

docker-jitsi-meet

Docker Jitsi Meet WebRTC conferencing system w/Prosody XMPP and s6 overlay
Dockerfile
64
star
9

docker-collabora-online

Dockerized Collabora Office Online with customizable options
Dockerfile
62
star
10

docker-osticket

Dockerized Help Desk Software
PHP
48
star
11

docker-tinc

Docker Tinc VPN Mesh server w/S6 Overlay Init, Zabbix Monitoring, and distributed configuration updating based on Alpine
Dockerfile
43
star
12

docker-postal

Dockerized Postal SMTP Server based on Alpine Linux and Ruby
Dockerfile
40
star
13

docker-fusiondirectory

Dockerized FusionDirectory LDAP Manager
Dockerfile
39
star
14

docker-lemonldap

Dockerized Authentication Server with Single Sign On SAML, OpenID Connect, CAS, and Header support
Dockerfile
39
star
15

docker-openldap-fusiondirectory

Dockerized OpenLDAP server with FusionDirectory Schema Support
34
star
16

docker-wordpress

Dockerized Wordpress Image with customizable options
Python
31
star
17

docker-alpine

Docker Alpine Linux Base Images
Dockerfile
30
star
18

docker-traefik

Dockerized Traefik Reverse Proxy with customizable options
Dockerfile
29
star
19

docker-mongodb-backup

Docker MongoDB Backup Container based on Alpine w/S6 init, Zabbix Monitoring
Dockerfile
28
star
20

docker-nginx-proxy-cloudflare-companion

Automatically update CNAME records when Docker container starts via Cloudflare
Python
27
star
21

docker-spamassassin

Docker Spamassassin Spam filtering based on Alpine Linux
Dockerfile
26
star
22

docker-clamav

Docker ClamAV Image with Zabbix Monitoring and Customizable Configuration
Dockerfile
23
star
23

docker-baserow

Dockerized Baserow No/Low code data management application based on Alpine
Dockerfile
22
star
24

docker-nginx

Dockerzed webserver with many customizable options
Dockerfile
22
star
25

docker-nextcloud

Dockerized Nextcloud Server with many customizable options
17
star
26

docker-gitlab-ee

Dockerized Gitlab Enterprise Edition
Dockerfile
17
star
27

docker-debian

Docker Debian Base Images
Dockerfile
15
star
28

docker-discourse

Dockerized Discourse Forum
Dockerfile
15
star
29

docker-backuppc

Docker BackupPC with Zabbix monitoring support
Perl
15
star
30

docker-gcds

Docker Google Cloud Directory Sync service (GADS) w/S6 Overlay, Zabbix Monitoring
Dockerfile
14
star
31

docker-mariadb-backup

Docker MariaDB Backup Container w/ S6 Overlay, Zabbix Monitoring based on Alpine
Dockerfile
13
star
32

docker-zabbix

Dockerized Zabbix Server, Proxy, and Frontend
Dockerfile
13
star
33

docker-insync

Docker Insync Headless Client
Dockerfile
12
star
34

docker-rspamd

Dockerized Anti Spam Filter
Python
12
star
35

docker-nginx-ldap

Docker Nginx Image w/LDAP Authentication, Zabbix agent monitoring, S6 init, logrotate based on Alpine
Dockerfile
11
star
36

docker-bookstack

Dockerized Information Manager
Dockerfile
11
star
37

docker-mariadb

Docker MariaDB server w/ S6 Overlay, Zabbix Monitoring based on Alpine
11
star
38

docker-gitlab

Dockerized Gitlab CE w/Alpine Linux, Zabbix Monitoring and S6 Overlay
Dockerfile
10
star
39

docker-staytus

Docker Staytus Image w/s6 overlay, zabbix monitoring based on Alpine
HTML
10
star
40

docker-leantime

Dockerized Project Managment tool with many configurable options
Dockerfile
10
star
41

docker-otrs

Dockerized OTRS ITSM Helpdesk/Ticketing System based on Alpine w/Nginx
Dockerfile
9
star
42

docker-unbound

Docker Unbound DNS Resolver based on Alpine
Dockerfile
9
star
43

docker-postgres

Dockerized Postgresql Server with multiple databases/users, replication, and monitoring support
Dockerfile
9
star
44

docker-postfix

Dockerized MTA with many customizable features, LDAP, SASL, Milter, Relay Support
Dockerfile
8
star
45

docker-matomo

Dockerized Matomo (Piwik) Analytics
Dockerfile
8
star
46

docker-yourls

Dockerized YOURLS link shortener based on Alpine
Dockerfile
8
star
47

docker-invoiceninja

Dockerized Invoicing web application
Dockerfile
7
star
48

docker-nodejs

Docker NodeJS Base Images
7
star
49

docker-postfix-relay

Dockerized Postfix Relay for easy SMTP capabilities
Shell
7
star
50

docker-openvpn

Dockerized OpenVPN server w/Alpine+Debian Variants w/s6 overlay, and LDAP Authentication support
7
star
51

docker-rocketchat

Docker Rocketchat Server with S6 Initsystem and Zabbix Monitoring based on Alpine
6
star
52

docker-kopano

Dockerized Kopano Groupware server
Dockerfile
6
star
53

docker-n8n

Dockerized n8n workflow automation tool
Dockerfile
6
star
54

docker-listmonk

Dockerized Listmonk Mailing List server built iwth Alpine w/Zabbix Monitoring
Dockerfile
6
star
55

docker-cpuminer

Cryptocurrency Miner based on Alpine
6
star
56

docker-kopano-core

Dockerized Kopano Groupware Server
6
star
57

docker-grafana

Dockerfile
5
star
58

docker-moodle

Dockerized Moodle Learning Management System
Dockerfile
5
star
59

docker-loki

Dockerized Loki Log Analyzer
Dockerfile
5
star
60

docker-teampass

Dockerized Password Vault for Teams based on Alpine w/nginx,php-fpm
Dockerfile
5
star
61

docker-orbeon

Docker Orbeon Forms CE w/S6 Init, Tomcat, based on Alpine
Dockerfile
5
star
62

docker-redis

Docker Redis Server with S6 Initsystem and Zabbix Monitoring based on Alpine
5
star
63

docker-elasticsearch

Dockerized Elasticsearch based on Alpine linux
4
star
64

fusiondirectory-plugin-kopano

Plugin to manage users/groups for Kopano (fork of Zarafa) within Fusion Directory LDAP Manager
PHP
4
star
65

docker-novnc

Run GUI applications within a browser - Base image
Dockerfile
4
star
66

docker-flarum

Dockerized Flarum Web Forum Software based on Alpine
Shell
4
star
67

docker-registry

Dockerized Docker Registry
Dockerfile
4
star
68

docker-rabbitmq

Dockerized RabbitMQ server
Python
4
star
69

docker-gitlab-runner

Docker Gitlab runner w/ Zabbix monitoring support based on Alpine
4
star
70

docker-openeats

Dockerized Openeats Recipe manager based on Alpine Linux w/Zabbix Monitoring
Dockerfile
3
star
71

docker-restic

Dockerized Backup application
Dockerfile
3
star
72

docker-dovecot

Docker Dovecot IMAP server based on Alpine w/LDAP Support
TSQL
3
star
73

docker-uptimekuma

Dockerized Service availability monitoring system
Dockerfile
3
star
74

docker-draw-io

Docker Draw.IO image based on Alpine and Nginx
3
star
75

docker-logrotate

Docker Logrotate to keep logfiles compressed and rotated based on Alpine
Shell
3
star
76

docker-mailhog

Dockerized SMTP Test server
Dockerfile
3
star
77

docker-cachet

Dockerized Cachet Status monitoring application based on Alpine Linux
Dockerfile
3
star
78

docker-airsonic-advanced

Dockerized Airsonic Advanced Server based on Alpine
Dockerfile
3
star
79

docker-limesurvey

Dockerized Limesurvey application based on Alpine
Dockerfile
3
star
80

docker-mongo

Docker MongoDB server w/ S6 Overlay, Zabbix Monitoring based on Alpine
3
star
81

docker-haraka

Docker Haraka MTA based on Alpine
JavaScript
3
star
82

docker-ruby

Docker Ruby base images w/ S6 Overlay and Zabbix monitoring support
3
star
83

docker-ubuntu

Dockerized Ubuntu Base Images
Dockerfile
2
star
84

docker-memcached

Docker Memcached Server w/ S6 Initsystem and Zabbix Monitoring based on Alpine
Dockerfile
2
star
85

home

Home-Manager configuration ala Nix flakes
Nix
2
star
86

docker-kopano-meet

Dockerfile
2
star
87

docker-soulseek

Dockerized Soulseek Client
Dockerfile
2
star
88

docker-kopano-kapi

Dockerfile
2
star
89

docker-kopano-konnect

Dockerfile
2
star
90

docker-olefy

Dockerized Olefy TCP listener for OLE Tools
Dockerfile
2
star
91

docker-logchimp

Dockerized Logchimp Application
Dockerfile
2
star
92

docker-transmission

Dockerized Transmission client
Dockerfile
2
star
93

docker-dind

Docker in Docker Image with Zabbix monitoring Support and --squash --compress options by default based on Alpine
Dockerfile
2
star
94

docker-matrix-bridges

Dockerized Matrix Bridges to interconnect services
Dockerfile
2
star
95

docker-monica

Dockerized Monica PRM
Dockerfile
2
star
96

tiredofit

2
star
97

docker-minio

Dockerized Minio Server based on Alpine
Dockerfile
2
star
98

docker-tomcat

Docker Apache Tomcat based on Alpine
2
star
99

docker-mongo-builder

Docker Image to build MongoDB and associated tools for Alpine Edge from aports/non-free
Dockerfile
2
star
100

nixos-config

NixOS configurations
Nix
1
star