Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 473 Bytes

instructions.md

File metadata and controls

10 lines (8 loc) · 473 Bytes

The package has been configured successfully. The redis configuration stored inside config/redis.ts file relies on the following environment variables and hence we recommend validating them.

Open the env.ts file and paste the following code inside the Env.rules object.

REDIS_CONNECTION: Env.schema.enum(['local'] as const),
REDIS_HOST: Env.schema.string({ format: 'host' }),
REDIS_PORT: Env.schema.number(),
REDIS_PASSWORD: Env.schema.string.optional(),