2017 © Pedro Peláez
 

library sentry

Docker Compose Sentry For Use with NGINX

image

dev-pledge/sentry

Docker Compose Sentry For Use with NGINX

  • Thursday, March 8, 2018
  • by JRSaunders
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • Makefile
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Docker Compose Sentry For Use with NGINX/APACHE

Install the Application

You will need Docker and Composer installed on your machine., (*1)

You will need another Docker container running NGINX to route your DNS to this install., (*2)

Run this command from the directory in which you want to install your new Sentry Installation., (*3)

composer create-project dev-pledge/sentry [my-app-name]

Replace [my-app-name] with the desired directory name for your new application., (*4)

To set up sentry, (*5)

make up

wait for containers to be made, (*6)

make stop

make install

As the install runs you will need to create your email and passwords credentials - the install script will ask for them., (*7)

To run the application in development, you can also run either of these command., (*8)

make up

or if containers are already running, (*9)

make start

you can now reference the docker external network 'global_sentry' and the service 'sentry:9000' in your other docker containers, (*10)

my-great-app:

  networks:
    - default
    - sentry_network

networks:
  sentry_network:
    external:
      name: global_sentry

You can also set up email notifications. Add these environment variables to each docker-compose.yml service environment sections., (*11)

SENTRY_SERVER_EMAIL="sentry@my.domain"
SENTRY_EMAIL_HOST="smtp.mailgun.org"
SENTRY_EMAIL_PORT="587"
SENTRY_EMAIL_USER="postmaster@my.domain"
SENTRY_EMAIL_PASSWORD="pass"
SENTRY_EMAIL_USE_TLS="true"
SENTRY_SECRET_KEY="some_key" 

Have fun its very useful once setup - the whole setup should take no longer than 20 minutes at most. 5 mins if your really quick!, (*12)

The Versions

08/03 2018

dev-master

9999999-dev https://github.com/Dev-Pledge/Sentry

Docker Compose Sentry For Use with NGINX

  Sources   Download

MIT

by John Saunders

docker sentry error

20/02 2018

0.0.1

0.0.1.0 https://github.com/Dev-Pledge/Sentry

Docker Compose Sentry For Use with NGINX

  Sources   Download

MIT

by John Saunders

docker sentry error