Sha256: d5cfe06eaccba0013ac7d1e76fed46e6800036a0192106b8de6011f4504c2b3c
Contents?: true
Size: 899 Bytes
Versions: 3
Compression:
Stored size: 899 Bytes
Contents
# typed: false # frozen_string_literal: true PLUG_APP_URL = ENV.fetch("PLUG_APP_URL", "") YETTO_URL = if Rails.env.production? "yetto.app" elsif Rails.env.staging? "yetto-staging.onrender.com" elsif Rails.env.development? "localhost:3000" elsif Rails.env.test? "test.yetto.app" end YETTO_API_TLD = ENV.fetch("YETTO_API_TLD", "#{YETTO_URL}/api") YETTO_API_VERSION = ENV.fetch("YETTO_API_VERSION", "v1") SLACK_LOG_URL = ENV.fetch("SLACK_LOG_URL", nil) YETTO_PLUG_APP_TOKEN = ENV.fetch("YETTO_PLUG_APP_TOKEN", "super-secret") # For Honeycomb.io OTEL_EXPORTER_OTLP_ENDPOINT = ENV.fetch("OTEL_EXPORTER_OTLP_ENDPOINT", "https://api.honeycomb.io") OTEL_EXPORTER_OTLP_HEADERS = ENV.fetch("OTEL_EXPORTER_OTLP_HEADERS", "x-honeycomb-team=your-api-key") OTEL_SERVICE_NAME = ENV.fetch("OTEL_SERVICE_NAME", "your-service-name") def productionish? Rails.env.production? || Rails.env.staging? end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hephaestus-0.1.3 | templates/config/initializers/environment.rb |
hephaestus-0.1.2 | templates/config/initializers/environment.rb |
hephaestus-0.1.1 | templates/config/initializers/environment.rb |