diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-09-10 13:26:26 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-09-10 13:26:26 +0200 |
| commit | 7fb2fb878a6d7b6774af0b168ed6d0f229e5817e (patch) | |
| tree | 0c934e4b3df4c0ab197f279c4d4fce65e0dd6734 | |
| parent | 7e8cc9926e1b4bc6b65f78c055905f65b301e9ca (diff) | |
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.
| -rw-r--r-- | docker-compose.yml | 6 |
1 files changed, 3 insertions, 3 deletions
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: |
