-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
||
|
@@ -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" | ||
|
@@ -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 | ||
``` |