Skip to content

Commit

Permalink
reserve application.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dwusiq committed Jan 14, 2024
1 parent 8953400 commit 4a5d07b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ server:
max-age: -1
spring:
datasource:
url: jdbc:mysql://127.0.0.1:3306/dl?allowPublicKeyRetrieval=true&useSSL=false
url: jdbc:mysql://mysql:3306/dl?allowPublicKeyRetrieval=true&useSSL=false
#type: com.alibaba.druid.pool.DruidDataSource
username: root
password: 123456
password: ${SPRING_DATASOURCE_PASSWORD}
maximum-pool-size: 20

jpa:
Expand All @@ -25,8 +25,8 @@ spring:
mail:
host: ${SMTP_SERVER:smtp.gmail.com}
port: ${SMTP_SERVER_PORT:587}
username: ${MAIL_ADDRESS:abc}
password: ${MAIL_PASSWORD:abc}
username: ${MAIL_ADDRESS}
password: ${MAIL_PASSWORD}
properties:
mail:
smtp:
Expand Down Expand Up @@ -77,4 +77,4 @@ qcloud:
regionName: ${REGION_NAME}

login:
filter: false
filter: true

0 comments on commit 4a5d07b

Please sign in to comment.