Skip to content

Commit

Permalink
HAAR-1618: 🔧 updated redis config (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-mitchell authored Jul 17, 2023
1 parent c53f5ae commit 51441a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions helm_deploy/hmpps-authorization/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ generic-service:
SYSTEM_CLIENT_ID: "SYSTEM_CLIENT_ID"
SYSTEM_CLIENT_SECRET: "SYSTEM_CLIENT_SECRET"
SESSION_SECRET: "SESSION_SECRET"
elasticache-redis:
REDIS_HOST: "primary_endpoint_address"
REDIS_AUTH_TOKEN: "auth_token"
hmpps-redis:
REDIS_HOST: "REDIS_HOST"
REDIS_PASSWORD: "REDIS_PASSWORD"

allowlist:
office: "217.33.148.210/32"
Expand Down
2 changes: 1 addition & 1 deletion server/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default {
redis: {
host: get('REDIS_HOST', 'localhost', requiredInProduction),
port: parseInt(process.env.REDIS_PORT, 10) || 6379,
password: process.env.REDIS_AUTH_TOKEN,
password: process.env.REDIS_PASSWORD,
tls_enabled: get('REDIS_TLS_ENABLED', 'false'),
},
session: {
Expand Down

0 comments on commit 51441a6

Please sign in to comment.