env(cache-proxy): fix missing REDIS_HOST

This commit is contained in:
vchikalkin 2025-10-06 23:34:56 +03:00
parent 2836153887
commit cb4763e32b

View File

@ -10,12 +10,12 @@ const envSchema = z.object({
.string()
.transform((val) => Number.parseInt(val, 10))
.default('5000'),
REDIS_HOST: z.string(),
REDIS_HOST: z.string().default('redis'),
REDIS_PASSWORD: z.string(),
REDIS_PORT: z
.string()
.transform((val) => Number.parseInt(val, 10))
.transform((value) => Number.parseInt(value, 10))
.default('6379'),
REDIS_PASSWORD: z.string(),
URL_GRAPHQL: z.string(),
});