fix
This commit is contained in:
parent
1c572e9c8d
commit
8cddc05cbf
@ -6,7 +6,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: example
|
MYSQL_ROOT_PASSWORD: example
|
||||||
MYSQL_DATABASE: mydb
|
MYSQL_DATABASE: paopao
|
||||||
MYSQL_USER: myuser
|
MYSQL_USER: myuser
|
||||||
MYSQL_PASSWORD: mypassword
|
MYSQL_PASSWORD: mypassword
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -8,8 +8,8 @@ spring:
|
|||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://db:3306/paopao?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true # MySQL连接URL,paopao是数据库名
|
url: jdbc:mysql://db:3306/paopao?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true # MySQL连接URL,paopao是数据库名
|
||||||
driverClassName: com.mysql.cj.jdbc.Driver # MySQL的Driver类名
|
driverClassName: com.mysql.cj.jdbc.Driver # MySQL的Driver类名
|
||||||
username: root # MySQL用户名
|
username: myuser # MySQL用户名
|
||||||
password: root # MySQL密码
|
password: mypassword # MySQL密码
|
||||||
|
|
||||||
jpa:
|
jpa:
|
||||||
show-sql: true
|
show-sql: true
|
||||||
|
Loading…
Reference in New Issue
Block a user