Revize 14c51fb9
Přidáno uživatelem Tomáš Ballák před asi 4 roky(ů)
website/.env | ||
---|---|---|
20 | 20 |
#TRUSTED_HOSTS='^(localhost|example\.com)$' |
21 | 21 |
###< symfony/framework-bundle ### |
22 | 22 |
DATABASE_CONNECTION_STRING=mongodb://root:root@database |
23 |
|
|
24 |
###> sentry/sentry-symfony ### |
|
25 |
SENTRY_DSN= |
|
26 |
###< sentry/sentry-symfony ### |
website/composer.json | ||
---|---|---|
8 | 8 |
"ext-ctype": "*", |
9 | 9 |
"ext-iconv": "*", |
10 | 10 |
"doctrine/annotations": "*", |
11 |
"kreait/firebase-bundle": "^2.3", |
|
12 | 11 |
"sensio/framework-extra-bundle": "^5.5", |
12 |
"sentry/sentry-symfony": "^3.5", |
|
13 | 13 |
"symfony/asset": "*", |
14 | 14 |
"symfony/console": "5.0.*", |
15 | 15 |
"symfony/dotenv": "5.0.*", |
website/config/bundles.php | ||
---|---|---|
5 | 5 |
Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true], |
6 | 6 |
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true], |
7 | 7 |
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true], |
8 |
Kreait\Firebase\Symfony\Bundle\FirebaseBundle::class => ['all' => true],
|
|
8 |
Sentry\SentryBundle\SentryBundle::class => ['all' => true],
|
|
9 | 9 |
]; |
website/config/packages/firebase.yaml | ||
---|---|---|
1 |
kreait_firebase: |
|
2 |
projects: |
|
3 |
heatmap_zcu_cz: |
|
4 |
credentials: '%kernel.project_dir%/config/my_project_credentials.json' |
website/config/packages/sentry.yaml | ||
---|---|---|
1 |
sentry: |
|
2 |
dsn: 'https://0035d9c3563b492db2dc93d439230398@o505192.ingest.sentry.io/5593065' |
|
3 |
messenger: |
|
4 |
enabled: true # flushes Sentry messages at the end of each message handling |
|
5 |
capture_soft_fails: true # captures exceptions marked for retry too |
|
6 |
options: |
|
7 |
environment: '%kernel.environment%' |
|
8 |
release: '1.0' #your app version |
Také k dispozici: Unified diff
sentry setup