(improvement)(build) Use docker-compose.yml to run the entire process successfully. (#1298)

This commit is contained in:
lexluo09
2024-06-30 16:56:06 +08:00
committed by GitHub
parent d8bc6a02a4
commit 8bfd80c2c0
3 changed files with 10 additions and 19 deletions

View File

@@ -6,17 +6,11 @@ server:
mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
spring:
h2:
console:
path: /h2-console/semantic
enabled: true
datasource:
driver-class-name: org.h2.Driver
schema: classpath:db/schema-h2.sql
data: classpath:db/data-h2.sql
url: jdbc:h2:mem:semantic;DATABASE_TO_UPPER=false
username: root
password: semantic
url: jdbc:mysql://${DB_HOST}:3306/${DB_NAME}?useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
driver-class-name: com.mysql.jdbc.Driver
mybatis:
mapper-locations=classpath:mappers/custom/*.xml,classpath*:/mappers/*.xml