Skip to content

Commit

Permalink
Notes on overriding sentry config
Browse files Browse the repository at this point in the history
  • Loading branch information
darklow committed Jan 30, 2016
1 parent 7ca1c70 commit f0e1295
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ ssh dokku@yourserver redis:link sentry sentry

4) Add SENTRY_CONF to env vars
```
ssh -t dokku@yourserver config:set sentry SENTRY_CONF=./
ssh dokku@yourserver config:set sentry SENTRY_CONF=./
```

5) Add remote dokku
Expand Down Expand Up @@ -73,6 +73,14 @@ ssh -t dokku@yourserver run sentry "sentry createuser"
**VOILÀ!** Open your dokku app url, login and enjoy Sentry!


## Customize sentry config

You can customise `sentry.conf.py` to fit your needs. However you can also override any config variable using dokku env vars. Use `SC_` prefix (as of Sentry Config) to override specific sentry config variables. For example:

```
ssh dokku@yourserver config:set sentry SC_EMAIL_HOST=mail.yourserver.com [email protected] SC_EMAIL_HOST_PASSWORD=XYZ123 [email protected]
```


## Notes

Expand All @@ -82,7 +90,7 @@ To run sentry help and other commands:
ssh dokku@yourserver run sentry "sentry help"
```

To enable console prompt use `-t`
To enable console prompt use `-t`

```
ssh -t dokku@yourserver run sentry "sentry"
Expand All @@ -91,5 +99,5 @@ ssh -t dokku@yourserver run sentry "sentry"
If something goes wrong you can use dokku logs to debug:

```
ssh dokku@yourserver logs sentry
ssh dokku@yourserver logs sentry -t
```

0 comments on commit f0e1295

Please sign in to comment.