Skip to content

Commit 31787e6

Browse files
committed
[Updater] Add default for REDIS_HOST
1 parent 82a4ea9 commit 31787e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

updater/sis-updater-worker/src/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module.exports.isStaging = process.env.STAGING || false
33
module.exports.isProduction = process.env.NODE_ENV === 'production'
44
module.exports.MIGRATIONS_LOCK = 'MIGRATIONS_LOCK'
55
module.exports.PURGE_LOCK = 'PURGE_LOCK'
6-
module.exports.REDIS_HOST = process.env.REDIS_HOST
6+
module.exports.REDIS_HOST = process.env.REDIS_HOST || 'redis-updater'
77
module.exports.REDIS_PORT = process.env.REDIS_PORT || 6379
88
module.exports.rootOrgId = process.env.ROOT_ORG_ID || 'hy-university-root-id'
99
module.exports.serviceProvider = process.env.SERVICE_PROVIDER ? process.env.SERVICE_PROVIDER.toLowerCase() : ''

0 commit comments

Comments
 (0)