parent
bdb2ffc7ba
commit
7e730ed0c9
@ -17,12 +17,6 @@ ENV NEXT_TELEMETRY_DISABLED 1
|
|||||||
ARG GIT_REV
|
ARG GIT_REV
|
||||||
ENV GIT_REV ${GIT_REV}
|
ENV GIT_REV ${GIT_REV}
|
||||||
|
|
||||||
ARG SENTRY_AUTH_TOKEN
|
|
||||||
ENV SENTRY_AUTH_TOKEN ${SENTRY_AUTH_TOKEN}
|
|
||||||
|
|
||||||
ARG REDIS_URL
|
|
||||||
ENV REDIS_URL ${REDIS_URL}
|
|
||||||
|
|
||||||
RUN echo "redis url: ${REDIS_URL}"
|
RUN echo "redis url: ${REDIS_URL}"
|
||||||
|
|
||||||
# Build the app
|
# Build the app
|
||||||
|
@ -2,8 +2,6 @@ import { createClient } from "redis";
|
|||||||
|
|
||||||
let redisClient = await connectRedis();
|
let redisClient = await connectRedis();
|
||||||
|
|
||||||
console.log(process.env.REDIS_URL);
|
|
||||||
|
|
||||||
async function connectRedis(): Promise<any> {
|
async function connectRedis(): Promise<any> {
|
||||||
// console.log("Connecting to redis");
|
// console.log("Connecting to redis");
|
||||||
const client = createClient({
|
const client = createClient({
|
||||||
|
Loading…
Reference in New Issue
Block a user