Skip to content

Commit 3e8b0d2

Browse files
authored
Merge pull request #147 from prgrms-web-devcourse-final-project/deploy-1
deploy
2 parents 3387ee6 + fc48a4c commit 3e8b0d2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main/resources/application-prod.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
spring:
22
datasource:
3-
url: jdbc:mysql://${DB_HOST}:3306/${DB_NAME}?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Seoul
4-
username: ${DB_USERNAME}
5-
password: ${DB_PASSWORD}
3+
url: "jdbc:mysql://mysql_1:3306/${SPRING__DATASOURCE__URL___DB_NAME}?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Seoul"
4+
username: lldjlocal
5+
password: 1234
66
driver-class-name: com.mysql.cj.jdbc.Driver
77

88
jpa:
99
hibernate:
10-
ddl-auto: validate
10+
ddl-auto: update
1111
properties:
1212
hibernate:
1313
dialect: org.hibernate.dialect.MySQL8Dialect
1414

1515
data:
1616
redis:
17-
host: ${REDIS_HOST:localhost}
18-
port: ${REDIS_PORT:6379}
17+
host: redis_1
18+
password: ${SPRING__DATA__REDIS__PASSWORD}
1919

2020
jwt:
2121
secret: ${JWT_SECRET}

0 commit comments

Comments
 (0)