Skip to content

Commit

Permalink
chore: application-redis.yml 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
seonghooni committed Jul 31, 2024
1 parent c08a643 commit 8ac82bd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/main/resources/application-redis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
spring:
data:
redis:
host: ${REDIS_HOST:localhost}
port: ${REDIS_PORT:6379}
10 changes: 9 additions & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
spring:
data:
redis:
host: localhost
port: 6379
datasource:
url: ${MYSQL_URL:jdbc:mysql://localhost}:${MYSQL_PORT:3306}/${MYSQL_SCHEMA:dev}
driver-class-name: com.mysql.cj.jdbc.Driver
Expand All @@ -12,10 +16,14 @@ spring:
hibernate:
format_sql: true
use_sql_comments: true
profiles:
include:
- redis
- swagger
logging:
level:
org:
hibernate:
type:
descriptor:
sql: trace
sql: trace

0 comments on commit 8ac82bd

Please sign in to comment.