Skip to content

Commit

Permalink
feat: default redis
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Ellison committed Jun 29, 2023
1 parent 37b8f50 commit 28ca4e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/auto-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
tags: airwalk-digital/airview-mdx-deck
secrets: |
"FONTAWESOME_NPM_AUTH_TOKEN=${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}"
"REDIS_HOST: redis"
- name: Release
env:
Expand Down
2 changes: 1 addition & 1 deletion lib/redis/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ let redisInstance;

function getRedisConfiguration() {
return {
host: process.env.REDIS_HOST,
host: process.env.REDIS_HOST || 'redis',
password: process.env.REDIS_PASSWORD,
port: process.env.REDIS_PORT,
}
Expand Down

0 comments on commit 28ca4e2

Please sign in to comment.