console/packages/services/stripe-billing
renovate[bot] eb47b0b2a0
chore(deps): update dependency pino-pretty to v11.3.0 (#5783)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-27 18:24:00 +02:00
..
src chore(deps): update stripe (major) (#5455) 2024-10-22 10:41:35 +03:00
.env.template distributed tracing (#4219) 2024-04-07 11:57:03 +03:00
package.json chore(deps): update dependency pino-pretty to v11.3.0 (#5783) 2024-10-27 18:24:00 +02:00
README.md distributed tracing (#4219) 2024-04-07 11:57:03 +03:00
tsconfig.json TS skipLibCheck everywhere, starting from root tsconfig (#588) 2022-11-03 15:00:58 +00:00

@hive/stripe-billing

Optional service for billing customers with Stripe.

Configuration

Name Required Description Example Value
PORT Yes The port this service is running on. 4013
USAGE_ESTIMATOR_ENDPOINT Yes The endpoint of the usage estimator service. 4011
POSTGRES_HOST Yes Host of the postgres database 127.0.0.1
POSTGRES_PORT Yes Port of the postgres database 5432
POSTGRES_DB Yes Name of the postgres database. registry
POSTGRES_USER Yes User name for accessing the postgres database. postgres
POSTGRES_PASSWORD Yes Password for accessing the postgres database. postgres
POSTGRES_SSL No Whether the postgres connection should be established via SSL. 1 (enabled) or 0 (disabled)
STRIPE_SECRET_KEY Yes The stripe secret key. sk_test_abcd
STRIPE_SYNC_INTERVAL_MS No The stripe sync interval in milliseconds (Default: 600_000) 1_000
ENVIRONMENT No The environment of your Hive app. (Note: This will be used for Sentry reporting.) staging
SENTRY No Whether Sentry error reporting should be enabled. 1 (enabled) or 0 (disabled)
SENTRY_DSN No The DSN for reporting errors to Sentry. https://dooobars@o557896.ingest.sentry.io/12121212
REQUEST_LOGGING No Log http requests 1 (enabled) or 0 (disabled)
LOG_LEVEL No The verbosity of the service logs. One of trace, debug, info, warn ,error, fatal or silent info (default)
OPENTELEMETRY_COLLECTOR_ENDPOINT No OpenTelemetry Collector endpoint. The expected traces transport is HTTP (port 4318). http://localhost:4318/v1/traces