Skip to content

Commit

Permalink
Merge pull request #350 from bcgov/feature/redis-update
Browse files Browse the repository at this point in the history
Update redis properties
  • Loading branch information
TayGov authored Sep 25, 2023
2 parents c8cef02 + 5607c5a commit e7e9aa3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ services:
redis:
container_name: redis
image: redis
#command: redis-server --requirepass admin
command: redis-server
command: redis-server --requirepass admin
#command: redis-server
ports:
- "6379:6379"
volumes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ management:
spring:
application:
name: ai-reviewer-api
redis:
host: ${REDIS_HOST:localhost}
port: ${REDIS_PORT:6379}
password: ${REDIS_PASSWORD:admin}
data:
mongodb:
authentication-database: ${AIR_SPRING_DATA_MONGODB_AUTHENTICATION_DATABASE:admin}
Expand All @@ -21,6 +17,10 @@ spring:
database: ${AIR_SPRING_DATA_MONGODB_DATABASE:ai-reviewer}
username: ${AIR_SPRING_DATA_MONGODB_USERNAME:admin}
password: ${AIR_SPRING_DATA_MONGODB_PASSWORD:admin}
redis:
host: ${REDIS_HOST:localhost}
port: ${REDIS_PORT:6379}
password: ${REDIS_PASSWORD:admin}
security:
oauth2:
resourceserver:
Expand Down

0 comments on commit e7e9aa3

Please sign in to comment.