add docker

This commit is contained in:
none
2023-04-06 16:17:17 +08:00
parent 943c25ffb0
commit 28b9bb6495
7 changed files with 35 additions and 20 deletions

View File

@@ -8,7 +8,7 @@ spring:
proxy-target-class: true
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: "jdbc:mysql://127.0.0.1:33060/java-meedu?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false"
url: "jdbc:mysql://192.168.3.9:33060/java-meedu?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false"
username: "root"
password: "root"
type: com.zaxxer.hikari.HikariDataSource
@@ -19,7 +19,7 @@ spring:
# Redis配置
data:
redis:
host: "127.0.0.1"
host: "192.168.3.9"
port: 6379
password:
database: 0
@@ -46,7 +46,7 @@ spring:
minio:
access-key: "username"
secret-key: "password"
end-point: "http://127.0.0.1:9000"
end-point: "http://192.168.3.9:9000"
bucket: "playedu"
domain: "https://dev-local3.meedu.vip/"

View File

@@ -6,7 +6,7 @@
<!-- 定义参数 -->
<property name="log.lever" value="debug"/>
<property name="log.maxHistory" value="365"/>
<property name="log.filePath" value="logs"></property>
<property name="log.filePath" value="logs" />
<property name="log.pattern" value="%-12(%d{yyyy-MM-dd HH:mm:ss.SSS}) |-%-5level [%thread] %c [%L] -| %msg%n"/>
<!-- 控制台设置 -->