From 7fb2fb878a6d7b6774af0b168ed6d0f229e5817e Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Fri, 10 Sep 2021 13:26:26 +0200 Subject: fix(docker): Do not warn when Sentry is not configured This change updates the Docker Compose configuration to not warn the user when they have not specified any Sentry configuration. Since Sentry is optional, the user should not be presented warnings. --- docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml index 9fd9156c..ac2e6041 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: - backend environment: REACT_APP_OAUTH_CLIENT_ID: ${OPENDC_OAUTH_CLIENT_ID} - REACT_APP_SENTRY_DSN: ${OPENDC_FRONTEND_SENTRY_DSN} + REACT_APP_SENTRY_DSN: ${OPENDC_FRONTEND_SENTRY_DSN-} api: build: opendc-web/opendc-web-api @@ -29,7 +29,7 @@ services: - OPENDC_DB_HOST=mongo - OPENDC_FLASK_SECRET - OPENDC_OAUTH_CLIENT_ID - - SENTRY_DSN=${OPENDC_API_SENTRY_DSN} + - SENTRY_DSN=${OPENDC_API_SENTRY_DSN-} - SENTRY_ENVIRONMENT simulator: @@ -49,7 +49,7 @@ services: - OPENDC_DB_USERNAME - OPENDC_DB_PASSWORD - OPENDC_DB_HOST=mongo - - SENTRY_DSN=${OPENDC_SIMULATOR_SENTRY_DSN} + - SENTRY_DSN=${OPENDC_SIMULATOR_SENTRY_DSN-} - SENTRY_ENVIRONMENT mongo: -- cgit v1.2.3