Compare commits

...

3 Commits

Author SHA1 Message Date
e415f5a362 Merge pull request 'xinwei' (#21) from xinwei into master
All checks were successful
continuous-integration/drone Build is passing
Reviewed-on: #21
2024-08-21 18:10:17 +08:00
e796ae2783 从库修改数据源 2024-08-21 18:09:52 +08:00
cdf2a116ee 构建修改 2024-08-21 17:23:07 +08:00
3 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ spring:
# password: SYSDBA # DM 连接的示例
slave: # 模拟从库,可根据自己需要修改
lazy: true # 开启懒加载,保证启动速度
url: jdbc:mysql://120.46.37.243:3306/ludu_ticketing?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
url: jdbc:mysql://101.43.112.107:3306/ludu_ticketing?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
username: root
password: xpower1234

View File

@ -59,7 +59,7 @@ spring:
# password: SYSDBA # DM 连接的示例
slave: # 模拟从库,可根据自己需要修改
lazy: true # 开启懒加载,保证启动速度
url: jdbc:mysql://120.46.37.243:3306/ludu_ticketing?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
url: jdbc:mysql://101.43.112.107:3306/ludu_ticketing?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
username: root
password: xpower1234

View File

@ -13,4 +13,4 @@ docker rmi ${app_name}:${app_version}
echo '----build image----'
docker buildx build -f Dockerfile -t ${app_name}:${app_version} .
echo '----start container----'
docker run -d -p 48080:48080 --name ${app_name} ${app_name}:${app_version}
docker run -d -p 48083:48080 --name ${app_name} ${app_name}:${app_version}