Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/.env.test
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ HELP_SCOUT_APP_ID=fake_app_id
HELP_SCOUT_APP_SECRET=fake_app_secret
HELP_SCOUT_SIGNATURE_KEY=fake_signature_key
HELP_SCOUT_VAULT_KEY=ym9ZQg0KPNGCH3C2eD5y6KpL0tFzUqAhwxQO6uEv/ZM=
PLAIN_CUSTOMER_CARD_TOKEN=fake_plain_token

S3_DISABLED=false
S3_ACCESS_KEY_ID=minioadmin
Expand Down
8 changes: 8 additions & 0 deletions config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -887,6 +887,14 @@ config :plausible, :hcaptcha,
nolt_sso_secret = get_var_from_path_or_env(config_dir, "NOLT_SSO_SECRET")
config :joken, default_signer: nolt_sso_secret

# Plain customer support integration.
# hmac_secret - used for signing data in the chat widget
# token - used for authenticating customer card requests (Bearer token in Authorization header)
config :plausible, :plain,
app_id: get_var_from_path_or_env(config_dir, "PLAIN_APP_ID"),
hmac_secret: get_var_from_path_or_env(config_dir, "PLAIN_HMAC_SECRET"),
customer_card_token: get_var_from_path_or_env(config_dir, "PLAIN_CUSTOMER_CARD_TOKEN")

config :plausible, Plausible.Sentry.Client,
finch_request_opts: [
pool_timeout: get_int_from_path_or_env(config_dir, "SENTRY_FINCH_POOL_TIMEOUT", 5000),
Expand Down
Loading
Loading