Skip to content

Commit

Permalink
Merge pull request #41 from Project-Catcher/refactor-hg-local-redis
Browse files Browse the repository at this point in the history
refactor: local 레디스 설정
  • Loading branch information
dev-khg authored Dec 4, 2023
2 parents 2753517 + 5e20701 commit cb6b9e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/catcher/config/RedisConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

import java.util.List;

@Profile({"local", "dev", "prod"})
@Profile({"dev", "prod"})
@Configuration
@EnableRedisRepositories
@RequiredArgsConstructor
Expand Down
5 changes: 2 additions & 3 deletions src/main/resources/application-local.properties
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ logging.level.org.hibernate.SQL=DEBUG
spring.jpa.properties.hibernate.dialect= org.hibernate.dialect.MariaDBDialect

### Redis
spring.data.redis.cluster.nodes=localhost:6379
spring.data.redis.username=your_username
spring.data.redis.password=your_password
spring.data.redis.host=localhost
spring.data.redis.port=6379

### JWT
# TODO : need to fill secret
Expand Down

0 comments on commit cb6b9e6

Please sign in to comment.