Skip to content

whoiskp/sentry-docker-compose

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sentry-docker-compose

How to setup a full Sentry instance with docker-compose.yml

Check out this repo

Copying sample files

$ cp .env.sample .env

Generate secret key

$ docker-compose run --rm sentry config generate-secret-key

And then set generated key to SENTRY_SECRET_KEY in .env.

Initialize database

If this is a new database, you'll need to run upgrade.

$ docker-compose run --rm sentry upgrade

And create an initial user, if you need.

Booting

$ docker-compose up -d

And open http://localhost:9000

License

MIT License

INTEGRATIONS Telegram Alert

here

  1. pip install sentry-telegram in sentry & sentry-worker by docker exec -it <sentry> bash
  2. docker-compose restart. It's done ^^

Config alert for telegram

  1. Get Bot Token from Bot Father of Telegram
  2. Add this Bot to your channel or group with Admin Role.
  3. Call https://api.telegram.org/bot<token>/getUpdates to get Channel_ID
  4. Add config to sentry with your project. Thank <3

About

How to setup a full Sentry instance with docker-compose.yml

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published