diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 9abcb47..a44f1a2 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -9,6 +9,9 @@ jobs: redis: image: redis:7.4.1-alpine command: redis-server --save 20 1 --loglevel warning --requirepass development + ports: + - 6379:6379 + postgres: image: postgres:17-alpine diff --git a/apps/api/src/utils/redis.ts b/apps/api/src/utils/redis.ts index 6bb2c2e..619b587 100644 --- a/apps/api/src/utils/redis.ts +++ b/apps/api/src/utils/redis.ts @@ -5,5 +5,7 @@ export const redis = createClient({ url: import.meta.env.REDIS_URL, }) +console.log(import.meta.env) + redis.on('error', (err) => console.log('Redis Client Error', err)) await redis.connect()