https://github.com/rongfengliang/openresty-sentry-docker-compose
openresty-sentry-docker-compose
https://github.com/rongfengliang/openresty-sentry-docker-compose
docker-compose openresty sentry
Last synced: about 2 months ago
JSON representation
openresty-sentry-docker-compose
- Host: GitHub
- URL: https://github.com/rongfengliang/openresty-sentry-docker-compose
- Owner: rongfengliang
- Created: 2019-01-25T11:40:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-25T12:08:35.000Z (over 7 years ago)
- Last Synced: 2025-10-07T19:56:54.327Z (9 months ago)
- Topics: docker-compose, openresty, sentry
- Language: Python
- Size: 7.81 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Openresty with Sentry
## Requirements
* Docker 1.10.0+
* Compose 1.6.0+ _(optional)_
## Up and Running
Assuming you've just cloned this repository, the following steps
will get you up and running in no time!
There may need to be modifications to the included `docker-compose.yml` file to accommodate your needs or your environment. These instructions are a guideline for what you should generally do.
1. `docker volume create --name=sentry-data && docker volume create --name=sentry-postgres` - Make our local database and sentry volumes
Docker volumes have to be created manually, as they are declared as external to be more durable.
2. `cp -n .env.example .env` - create env config file
3. `docker-compose build` - Build and tag the Docker services
4. `docker-compose run --rm web config generate-secret-key` - Generate a secret key.
Add it to `.env` as `SENTRY_SECRET_KEY`.
5. `docker-compose run --rm web upgrade` - Build the database.
Use the interactive prompts to create a user account.
6. `docker-compose up -d` - Lift all services (detached/background mode).
7. Access your instance at `localhost:9000`!
## Add Sentry project
1. login in system
2. create proejct
3. get client dsn with old version
## Resources
* [Documentation](https://docs.sentry.io/server/installation/docker/)
* [Bug Tracker](https://github.com/getsentry/onpremise)
* [Forums](https://forum.sentry.io/c/on-premise)
* [IRC](irc://chat.freenode.net/sentry) (chat.freenode.net, #sentry)