You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-07-08 06:23:00 +02:00
Add ability to pass redis hostname as env var (#174)
* Add ability to pass redis hostname as env var * Read postgres host from env var in microservices * Update .env.example with postgres and redis hostname vars
This commit is contained in:
@ -39,7 +39,7 @@ import { ScheduleTasksModule } from './modules/schedule-tasks/schedule-tasks.mod
|
||||
BullModule.forRootAsync({
|
||||
useFactory: async () => ({
|
||||
redis: {
|
||||
host: 'immich_redis',
|
||||
host: process.env.REDIS_HOSTNAME || 'immich_redis',
|
||||
port: 6379,
|
||||
},
|
||||
}),
|
||||
|
Reference in New Issue
Block a user