mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00: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:
parent
87b15c60c0
commit
a44043a4e5
4 changed files with 17 additions and 5 deletions
|
|
@ -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,
|
||||
},
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue