ci: remove redis start command
This commit is contained in:
parent
501e75b420
commit
15425cdc32
@ -8,7 +8,7 @@ jobs:
|
|||||||
services:
|
services:
|
||||||
redis:
|
redis:
|
||||||
image: redis:7.4.1-alpine
|
image: redis:7.4.1-alpine
|
||||||
command: redis-server --save 20 1 --loglevel warning --requirepass development
|
# command: redis-server --save 20 1 --loglevel warning --requirepass development
|
||||||
ports:
|
ports:
|
||||||
- 6379:6379
|
- 6379:6379
|
||||||
|
|
||||||
|
@ -5,7 +5,5 @@ export const redis = createClient({
|
|||||||
url: import.meta.env.REDIS_URL,
|
url: import.meta.env.REDIS_URL,
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log(import.meta.env)
|
|
||||||
|
|
||||||
redis.on('error', (err) => console.log('Redis Client Error', err))
|
redis.on('error', (err) => console.log('Redis Client Error', err))
|
||||||
await redis.connect()
|
await redis.connect()
|
||||||
|
Loading…
Reference in New Issue
Block a user