Skip to content

Instantly share code, notes, and snippets.

@ivan1993spb
Forked from denji/README.md
Created December 2, 2018 14:53
Show Gist options
  • Save ivan1993spb/cf02a9fe533086d245f6a6f71873fb87 to your computer and use it in GitHub Desktop.
Save ivan1993spb/cf02a9fe533086d245f6a6f71873fb87 to your computer and use it in GitHub Desktop.

Revisions

  1. @denji denji revised this gist Feb 4, 2018. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -12,9 +12,7 @@ services:
    environment:
    POSTGRES_USER: sentry
    POSTGRES_PASSWORD: sentry
    POSTGRES_DBNAME: sentry
    POSTGRES_DBUSER: sentry
    POSTGRES_DBPASS: sentry
    POSTGRES_DB: sentry
    volumes:
    - pgdb:/var/lib/postgresql/data

  2. @denji denji revised this gist Oct 8, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@
    2. Change `SENTRY_SECRET_KEY` to random 32 char string
    3. Run `docker-compose up -d`
    4. Run `docker-compose exec sentry sentry upgrade` to setup database and create admin user
    5. Run `docker-compose exec sentry pip install sentry-slack` if you want slack plugin, it can be done later
    5. (*Optional*) Run `docker-compose exec sentry pip install sentry-slack` if you want slack plugin, it can be done later
    6. Run `docker-compose restart sentry`
    7. Sentry is now running on public port `9000`

  3. @denji denji revised this gist Oct 8, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@
    2. Change `SENTRY_SECRET_KEY` to random 32 char string
    3. Run `docker-compose up -d`
    4. Run `docker-compose exec sentry sentry upgrade` to setup database and create admin user
    5. Run `docker-compose exec sentry pip install sentry-slack` if you want slack plugin, it can be done later (Sentry integrations & plugins: [`1`](https://github.com/getsentry?utf8=%E2%9C%93&q=integration&type=&language=python) [`2`](https://github.com/search?l=Python&q=Plugin+Sentry&type=Repositories&utf8=%E2%9C%93))
    5. Run `docker-compose exec sentry pip install sentry-slack` if you want slack plugin, it can be done later
    6. Run `docker-compose restart sentry`
    7. Sentry is now running on public port `9000`

  4. @denji denji revised this gist Oct 8, 2017. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -28,3 +28,10 @@ Official Sentry integration/plugin
    * https://github.com/getsentry/sentry-groveio - Plugin for Sentry that logs errors to an IRC room on Grove.io
    * https://github.com/getsentry/sentry-irccat - Plugin for Sentry which sends errors to irccat (or any other service which supports irccat's simple socket-based protocol)
    * https://github.com/getsentry/sentry-slack - Slack integration for Sentry

    Sentry integration/plugin
    =========================
    * https://github.com/linovia/sentry-hipchat - Sentry plugin that integrates with Hipchat
    * https://github.com/butorov/sentry-telegram - Plugin for Sentry which allows sending notification via Telegram messenger
    * https://github.com/mattrobenolt/sentry-twilio - A plugin for Sentry that sends SMS notifications via Twilio
    * https://github.com/Banno/getsentry-kafka - An Apache Kafka plugin for Sentry
  5. @denji denji revised this gist Oct 8, 2017. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -26,4 +26,5 @@ Official Sentry integration/plugin
    * https://github.com/getsentry/sentry-trello - Plugin for Sentry that creates cards on a Trello board
    * https://github.com/getsentry/sentry-campfire - Sentry plugin for sending notifications to Campfire
    * https://github.com/getsentry/sentry-groveio - Plugin for Sentry that logs errors to an IRC room on Grove.io
    * https://github.com/getsentry/sentry-irccat - A plugin for Sentry which sends errors to irccat (or any other service which supports irccat's simple socket-based protocol)
    * https://github.com/getsentry/sentry-irccat - Plugin for Sentry which sends errors to irccat (or any other service which supports irccat's simple socket-based protocol)
    * https://github.com/getsentry/sentry-slack - Slack integration for Sentry
  6. @denji denji revised this gist Oct 8, 2017. 1 changed file with 20 additions and 1 deletion.
    21 changes: 20 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -6,5 +6,24 @@
    6. Run `docker-compose restart sentry`
    7. Sentry is now running on public port `9000`


    * https://docs.docker.com/compose/compose-file/#env_file
    * https://docs.docker.com/compose/compose-file/#depends_on
    * https://docs.docker.com/compose/compose-file/#depends_on

    Official Sentry integration/plugin
    ===================================
    * https://github.com/getsentry/sentry-redmine - Sentry integration for creating Redmine issues
    * https://github.com/getsentry/sentry-github - Sentry extension which integrates with GitHub
    * https://github.com/getsentry/sentry-phabricator - Sentry extension which integrates with Phabricator
    * https://github.com/getsentry/sentry-pagerduty - Sentry plugin for integrating with PagerDuty
    * https://github.com/getsentry/sentry-teamwork - Sentry plugin that integrates with Teamwork
    * https://github.com/getsentry/sentry-heroku - Sentry extension which integrates Heroku release tracking
    * https://github.com/getsentry/sentry-freight - Sentry extension which integrates with Freight release tracking
    * https://github.com/getsentry/sentry-youtrack - Sentry extension which integrates with YouTrack
    * https://github.com/getsentry/sentry-bitbucket - Sentry extension which integrates with Bitbucket
    * https://github.com/getsentry/sentry-jira - Plugin for sentry that lets you create JIRA issues
    * https://github.com/getsentry/sentry-irc - Plugin for Sentry that logs errors to an IRC room
    * https://github.com/getsentry/sentry-trello - Plugin for Sentry that creates cards on a Trello board
    * https://github.com/getsentry/sentry-campfire - Sentry plugin for sending notifications to Campfire
    * https://github.com/getsentry/sentry-groveio - Plugin for Sentry that logs errors to an IRC room on Grove.io
    * https://github.com/getsentry/sentry-irccat - A plugin for Sentry which sends errors to irccat (or any other service which supports irccat's simple socket-based protocol)
  7. @denji denji revised this gist Oct 8, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@
    2. Change `SENTRY_SECRET_KEY` to random 32 char string
    3. Run `docker-compose up -d`
    4. Run `docker-compose exec sentry sentry upgrade` to setup database and create admin user
    5. Run `docker-compose exec sentry pip install sentry-slack` if you want slack plugin, it can be done later (Slack integration & plugins: [`1`](https://github.com/getsentry?utf8=%E2%9C%93&q=integration&type=&language=python) [`2`](https://github.com/search?l=Python&q=Plugin+Sentry&type=Repositories&utf8=%E2%9C%93))
    5. Run `docker-compose exec sentry pip install sentry-slack` if you want slack plugin, it can be done later (Sentry integrations & plugins: [`1`](https://github.com/getsentry?utf8=%E2%9C%93&q=integration&type=&language=python) [`2`](https://github.com/search?l=Python&q=Plugin+Sentry&type=Repositories&utf8=%E2%9C%93))
    6. Run `docker-compose restart sentry`
    7. Sentry is now running on public port `9000`

  8. @denji denji revised this gist Oct 8, 2017. 1 changed file with 8 additions and 8 deletions.
    16 changes: 8 additions & 8 deletions nginx.conf
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,10 @@
    server {
    server_name sentry.example.com;
    listen 80;
    location / {
    proxy_pass http://sentry:9000;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $host;
    }
    server_name sentry.example.com;
    listen 80;
    location / {
    proxy_pass http://sentry:9000;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $host;
    }
    }
  9. @denji denji revised this gist Oct 8, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@
    2. Change `SENTRY_SECRET_KEY` to random 32 char string
    3. Run `docker-compose up -d`
    4. Run `docker-compose exec sentry sentry upgrade` to setup database and create admin user
    5. Run `docker-compose exec sentry pip install sentry-slack` if you want slack plugin, it can be done later (Slack integration & plugins: [[1]](https://github.com/getsentry?utf8=%E2%9C%93&q=integration&type=&language=python) [[2]](https://github.com/search?l=Python&q=Plugin+Sentry&type=Repositories&utf8=%E2%9C%93))
    5. Run `docker-compose exec sentry pip install sentry-slack` if you want slack plugin, it can be done later (Slack integration & plugins: [`1`](https://github.com/getsentry?utf8=%E2%9C%93&q=integration&type=&language=python) [`2`](https://github.com/search?l=Python&q=Plugin+Sentry&type=Repositories&utf8=%E2%9C%93))
    6. Run `docker-compose restart sentry`
    7. Sentry is now running on public port `9000`

  10. @denji denji revised this gist Oct 8, 2017. 1 changed file with 1 addition and 4 deletions.
    5 changes: 1 addition & 4 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -2,10 +2,7 @@
    2. Change `SENTRY_SECRET_KEY` to random 32 char string
    3. Run `docker-compose up -d`
    4. Run `docker-compose exec sentry sentry upgrade` to setup database and create admin user
    5. Run `docker-compose exec sentry pip install sentry-slack` if you want slack plugin, it can be done later

    Plugin list: [[1]](https://github.com/getsentry?utf8=%E2%9C%93&q=integration&type=&language=python) [[2]](https://github.com/search?l=Python&q=Plugin+Sentry&type=Repositories&utf8=%E2%9C%93)

    5. Run `docker-compose exec sentry pip install sentry-slack` if you want slack plugin, it can be done later (Slack integration & plugins: [[1]](https://github.com/getsentry?utf8=%E2%9C%93&q=integration&type=&language=python) [[2]](https://github.com/search?l=Python&q=Plugin+Sentry&type=Repositories&utf8=%E2%9C%93))
    6. Run `docker-compose restart sentry`
    7. Sentry is now running on public port `9000`

  11. @denji denji revised this gist Oct 8, 2017. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,9 @@
    3. Run `docker-compose up -d`
    4. Run `docker-compose exec sentry sentry upgrade` to setup database and create admin user
    5. Run `docker-compose exec sentry pip install sentry-slack` if you want slack plugin, it can be done later

    Plugin list: [[1]](https://github.com/getsentry?utf8=%E2%9C%93&q=integration&type=&language=python) [[2]](https://github.com/search?l=Python&q=Plugin+Sentry&type=Repositories&utf8=%E2%9C%93)

    6. Run `docker-compose restart sentry`
    7. Sentry is now running on public port `9000`

  12. @denji denji revised this gist Oct 8, 2017. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,8 @@
    2. Change `SENTRY_SECRET_KEY` to random 32 char string
    3. Run `docker-compose up -d`
    4. Run `docker-compose exec sentry sentry upgrade` to setup database and create admin user
    5. Run `docker-compose exec sentry pip install sentry-slack` if you want slack plugin, it can be done later [`Plugin list`](https://github.com/getsentry?utf8=%E2%9C%93&q=integration&type=&language=python)
    5. Run `docker-compose exec sentry pip install sentry-slack` if you want slack plugin, it can be done later
    Plugin list: [[1]](https://github.com/getsentry?utf8=%E2%9C%93&q=integration&type=&language=python) [[2]](https://github.com/search?l=Python&q=Plugin+Sentry&type=Repositories&utf8=%E2%9C%93)
    6. Run `docker-compose restart sentry`
    7. Sentry is now running on public port `9000`

  13. @denji denji revised this gist Oct 8, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@
    2. Change `SENTRY_SECRET_KEY` to random 32 char string
    3. Run `docker-compose up -d`
    4. Run `docker-compose exec sentry sentry upgrade` to setup database and create admin user
    5. Run `docker-compose exec sentry pip install sentry-slack` if you want slack plugin, it can be done later
    5. Run `docker-compose exec sentry pip install sentry-slack` if you want slack plugin, it can be done later [`Plugin list`](https://github.com/getsentry?utf8=%E2%9C%93&q=integration&type=&language=python)
    6. Run `docker-compose restart sentry`
    7. Sentry is now running on public port `9000`

  14. @denji denji revised this gist Oct 8, 2017. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -4,4 +4,7 @@
    4. Run `docker-compose exec sentry sentry upgrade` to setup database and create admin user
    5. Run `docker-compose exec sentry pip install sentry-slack` if you want slack plugin, it can be done later
    6. Run `docker-compose restart sentry`
    7. Sentry is now running on public port `9000`
    7. Sentry is now running on public port `9000`

    * https://docs.docker.com/compose/compose-file/#env_file
    * https://docs.docker.com/compose/compose-file/#depends_on
  15. @denji denji revised this gist Oct 8, 2017. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    1. Download docker-compose.yml to dir named `sentry`
    2. Change SENTRY_SECRET_KEY to random 32 char string
    2. Change `SENTRY_SECRET_KEY` to random 32 char string
    3. Run `docker-compose up -d`
    4. Run `docker exec -it sentry_sentry_1 sentry upgrade` to setup database and create admin user
    5. Run `docker exec -it pip install sentry-slack` if you want slack plugin, it can be done later
    6. Run `docker restart sentry_sentry_1`
    7. Sentry is now running on public port 9000
    4. Run `docker-compose exec sentry sentry upgrade` to setup database and create admin user
    5. Run `docker-compose exec sentry pip install sentry-slack` if you want slack plugin, it can be done later
    6. Run `docker-compose restart sentry`
    7. Sentry is now running on public port `9000`
  16. @denji denji revised this gist Mar 20, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion nginx.conf
    Original file line number Diff line number Diff line change
    @@ -2,9 +2,9 @@ server {
    server_name sentry.example.com;
    listen 80;
    location / {
    proxy_pass http://sentry:9000;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $host;
    proxy_pass http://sentry:9000;
    }
    }
  17. @denji denji revised this gist Mar 20, 2017. 2 changed files with 10 additions and 11 deletions.
    10 changes: 10 additions & 0 deletions nginx.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    server {
    server_name sentry.example.com;
    listen 80;
    location / {
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $host;
    proxy_pass http://sentry:9000;
    }
    }
    11 changes: 0 additions & 11 deletions sentry-nginx.conf
    Original file line number Diff line number Diff line change
    @@ -1,11 +0,0 @@
    server {
    listen 80;
    server_name sentry.example.com;

    location / {
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $host;
    proxy_pass http://127.0.0.1:9000;
    }
    }
  18. @Cubixmeister Cubixmeister created this gist Aug 16, 2016.
    7 changes: 7 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    1. Download docker-compose.yml to dir named `sentry`
    2. Change SENTRY_SECRET_KEY to random 32 char string
    3. Run `docker-compose up -d`
    4. Run `docker exec -it sentry_sentry_1 sentry upgrade` to setup database and create admin user
    5. Run `docker exec -it pip install sentry-slack` if you want slack plugin, it can be done later
    6. Run `docker restart sentry_sentry_1`
    7. Sentry is now running on public port 9000
    59 changes: 59 additions & 0 deletions docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,59 @@
    version: '2'

    volumes:
    pgdb:

    services:
    redis:
    image: redis

    postgres:
    image: postgres
    environment:
    POSTGRES_USER: sentry
    POSTGRES_PASSWORD: sentry
    POSTGRES_DBNAME: sentry
    POSTGRES_DBUSER: sentry
    POSTGRES_DBPASS: sentry
    volumes:
    - pgdb:/var/lib/postgresql/data

    sentry:
    image: sentry
    links:
    - redis
    - postgres
    ports:
    - 9000:9000
    environment:
    SENTRY_SECRET_KEY: '!!!SECRET!!!'
    SENTRY_POSTGRES_HOST: postgres
    SENTRY_DB_USER: sentry
    SENTRY_DB_PASSWORD: sentry
    SENTRY_REDIS_HOST: redis

    cron:
    image: sentry
    links:
    - redis
    - postgres
    command: "sentry run cron"
    environment:
    SENTRY_SECRET_KEY: '!!!SECRET!!!'
    SENTRY_POSTGRES_HOST: postgres
    SENTRY_DB_USER: sentry
    SENTRY_DB_PASSWORD: sentry
    SENTRY_REDIS_HOST: redis

    worker:
    image: sentry
    links:
    - redis
    - postgres
    command: "sentry run worker"
    environment:
    SENTRY_SECRET_KEY: '!!!SECRET!!!'
    SENTRY_POSTGRES_HOST: postgres
    SENTRY_DB_USER: sentry
    SENTRY_DB_PASSWORD: sentry
    SENTRY_REDIS_HOST: redis
    11 changes: 11 additions & 0 deletions sentry-nginx.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    server {
    listen 80;
    server_name sentry.example.com;

    location / {
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $host;
    proxy_pass http://127.0.0.1:9000;
    }
    }