feat:1. 增加dev环境时使用的配置文件 2. 使得容器部署到和mysql同一个docker网络下
This commit is contained in:
@@ -1,12 +1,6 @@
|
||||
spring:
|
||||
application:
|
||||
name: LearningProgressTracker
|
||||
# 配置数据库
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://localhost:3306/learning_progress_tracker?characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password:
|
||||
flyway:
|
||||
# 是否启动 flyway
|
||||
enabled: true
|
||||
@@ -27,8 +21,6 @@ spring:
|
||||
jackson:
|
||||
time-zone: UTC
|
||||
date-format: yyyy-MM-dd'T'HH:mm:ss'Z'
|
||||
server:
|
||||
port: 8081
|
||||
mybatis-plus:
|
||||
configuration:
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
|
||||
Reference in New Issue
Block a user