mirror of
https://github.com/immich-app/immich.git
synced 2025-11-22 03:50:50 +09:00
chore: for redis, use service name as the default (#9109)
chore: use service name as default redis hostname
This commit is contained in:
@@ -52,7 +52,7 @@ function parseRedisConfig(): RedisOptions {
|
||||
}
|
||||
}
|
||||
return {
|
||||
host: process.env.REDIS_HOSTNAME || 'immich_redis',
|
||||
host: process.env.REDIS_HOSTNAME || 'redis',
|
||||
port: Number.parseInt(process.env.REDIS_PORT || '6379'),
|
||||
db: Number.parseInt(process.env.REDIS_DBINDEX || '0'),
|
||||
username: process.env.REDIS_USERNAME || undefined,
|
||||
|
||||
Reference in New Issue
Block a user