Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completes pass-through of environment to Sentry via COMPOSE_PROJECT_NAME env var #9960

Merged
merged 4 commits into from
Jul 27, 2021

Conversation

jywarren
Copy link
Member

@jywarren jywarren commented Jul 27, 2021

add COMPOSE_PROJECT_NAME env var

follow-up to #7796

Completes pass-through of environment to Sentry:

Raven.configure do |config|
# DSN should be an ENV variable!
config.dsn = ENV["SENTRY_DSN"] || 'https://0490297edae647b3bd935bdb4658da54:3d1a74cf68744c53b5e70484bece84d1@sentry.io/1410626'
config.environments = %w(production)
config.current_environment = ENV["COMPOSE_PROJECT_NAME"] || ENV["RAILS_ENV"] || %w(production)
end

https://docs.sentry.io/platforms/javascript/configuration/environments/

add COMPOSE_PROJECT_NAME env var
@gitpod-io
Copy link

gitpod-io bot commented Jul 27, 2021

@jywarren jywarren changed the title Update docker-compose-stable.yml Completes pass-through of environment to Sentry via COMPOSE_PROJECT_NAME env var Jul 27, 2021
@codeclimate
Copy link

codeclimate bot commented Jul 27, 2021

Code Climate has analyzed commit 38b1546 and detected 0 issues on this pull request.

View more on Code Climate.

@jywarren jywarren merged commit 2d92f9e into main Jul 27, 2021
reginaalyssa pushed a commit to reginaalyssa/plots2 that referenced this pull request Oct 16, 2021
…AME env var (publiclab#9960)

* Update docker-compose-stable.yml

add COMPOSE_PROJECT_NAME env var

* Update docker-compose-production.yml

* Update docker-compose-unstable.yml

* Update docker-compose-testing.yml
billymoroney1 pushed a commit to billymoroney1/plots2 that referenced this pull request Dec 28, 2021
…AME env var (publiclab#9960)

* Update docker-compose-stable.yml

add COMPOSE_PROJECT_NAME env var

* Update docker-compose-production.yml

* Update docker-compose-unstable.yml

* Update docker-compose-testing.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant