Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: only use sentry in cloud

Andras Bacsai3617f3bea738
diff --git a/config/coolify.php b/config/coolify.php
index f9878fff7b..225dfe6fa5 100644
--- a/config/coolify.php
+++ b/config/coolify.php
@@ -1,6 +1,7 @@
<?php
return [
+ 'sentry_dsn' => env('SENTRY_DSN'),
'docs' => 'https://coolify.io/docs/',
'contact' => 'https://coolify.io/docs/contact',
'feedback_discord_webhook' => env('FEEDBACK_DISCORD_WEBHOOK'),
diff --git a/config/sentry.php b/config/sentry.php
index e8b6ab0986..33ae36c731 100644
--- a/config/sentry.php
+++ b/config/sentry.php
@@ -3,7 +3,7 @@
return [
// @see https://docs.sentry.io/product/sentry-basics/dsn-explainer/
- 'dsn' => 'https://[email protected]/4505347448045568',
+ 'dsn' => config('coolify.sentry_dsn'),
// The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))