console/packages/services/tokens
renovate[bot] ba2dfdfe24
fix(deps): update trpc to v10.9.1 (#1195)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2023-02-01 10:24:07 +01:00
..
src Log errors in tRPC servers (#1183) 2023-01-30 14:22:15 +01:00
.env.template Make tokens service replicable (#1134) 2023-01-26 16:39:41 +01:00
.gitignore Hello 2022-05-18 09:26:57 +02:00
LICENSE chore: update year in LICENSEs (#53) 2022-05-23 23:10:27 +02:00
package.json fix(deps): update trpc to v10.9.1 (#1195) 2023-02-01 10:24:07 +01:00
README.md Make tokens service replicable (#1134) 2023-01-26 16:39:41 +01:00
tsconfig.json TS skipLibCheck everywhere, starting from root tsconfig (#588) 2022-11-03 15:00:58 +00:00

@hive/tokens

This service takes care of validating and issuing tokens used for accessing the public facing hive APIs (usage service and GraphQL API).

Configuration

Name Required Description Example Value
PORT Yes The port this service is running on. 6001
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)
REDIS_HOST Yes The host of your redis instance. "127.0.0.1"
REDIS_PORT Yes The port of your redis instance. 6379
REDIS_PASSWORD Yes The password of your redis instance. "apollorocks"
RATE_LIMIT_ENDPOINT Yes The endpoint of the rate limiting service. http://127.0.0.1:4012
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)