提交 86311375 作者: 方治民

撤销 "Merge branch 'master' into 'master'"

这将还原提交 bd9022ba
上级 bd9022ba
......@@ -55,4 +55,4 @@ deploy-job:
REGISTRY_REMOTE_USER: $REGISTRY_REMOTE_USER
REGISTRY_REMOTE_PASSWORD: $REGISTRY_REMOTE_PASSWORD
# 设置镜像 tag,使用 git tag 标识作为镜像 tag
TAG: ${REGISTRY_REMOTE}/kshg/kshg-api:${CI_BUILD_REF_NAME}
TAG: ${REGISTRY_REMOTE}/basic/basic-api:${CI_BUILD_REF_NAME}
# 可赛化工安全生产平台 API
> 项目 Fork 自 [basic-api-project](https://gitlab.yiring.com/basic/basic-api-project)
# Basic API(Template)
## 开发环境
......
spring:
datasource:
url: jdbc:mysql://127.0.0.1:3306/kshg_app?useSSL=false&allowPublicKeyRetrieval=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
url: jdbc:mysql://127.0.0.1:3306/basic_app?useSSL=false&allowPublicKeyRetrieval=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
username: root
password: 123456
jpa:
......
......@@ -5,13 +5,10 @@ spring:
password: 123456
jpa:
database-platform: org.hibernate.dialect.H2Dialect
show-sql: true
open-in-view: true
hibernate:
ddl-auto: update
show-sql: true
properties:
hibernate:
format_sql: true
h2:
console:
enabled: true
......
......@@ -5,7 +5,7 @@ server:
spring:
application:
name: "kshg-api"
name: "basic-api-app"
profiles:
include: auth
active: dev
......
......@@ -2,14 +2,14 @@ version: '3'
services:
# 应用服务
kshg-api:
basic-api:
build:
context: .
dockerfile: Dockerfile
# 镜像名称
image: 127.0.0.1:18500/kshg/kshg-api:0.0.1
image: 127.0.0.1:18500/basic/basic-api:0.0.1
# 容器名称
container_name: 'kshg-api'
container_name: 'basic-api'
# 端口绑定
ports:
- "18181:8181"
......@@ -17,14 +17,14 @@ services:
restart: always
# 挂载目录
volumes:
- "/volume/kshg/app/data:/data"
- "/volume/kshg/app/logs:/logs"
- "/volume/basic/app/data:/data"
- "/volume/basic/app/logs:/logs"
environment:
# 设置时区
- TZ=Asia/Shanghai
# 指定网络
networks:
- kshg
- basic
networks:
kshg:
basic:
......@@ -4,7 +4,7 @@ pluginManagement {
gradlePluginPortal()
}
}
rootProject.name = 'kshg-api'
rootProject.name = 'basic'
include 'app'
include 'basic-auth'
include 'basic-common:core'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论