File tree Expand file tree Collapse file tree 4 files changed +24
-9
lines changed
backend/services/main-application/src/main/resources Expand file tree Collapse file tree 4 files changed +24
-9
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ uninstall-%:
4141 esac ; \
4242 $(MAKE) $*-$$INSTALLER-uninstall
4343
44+
45+ # build
4446.PHONY : mineru-docker-build
4547mineru-docker-build :
4648 sh scripts/image/mineru/build.sh
@@ -85,6 +87,22 @@ datax-docker-install:
8587datax-docker-uninstall :
8688 cd deployment/docker/data-platform && docker-compose down datax
8789
90+ .PHONY : backend-docker-install
91+ backend-docker-install :
92+ cd deployment/docker/data-platform && docker-compose up -d backend
93+
94+ .PHONY : backend-docker-uninstall
95+ backend-docker-uninstall :
96+ cd deployment/docker/data-platform && docker-compose down backend
97+
98+ .PHONY : frontend-docker-install
99+ frontend-docker-install :
100+ cd deployment/docker/data-platform && docker-compose up -d frontend
101+
102+ .PHONY : frontend-docker-uninstall
103+ frontend-docker-uninstall :
104+ cd deployment/docker/data-platform && docker-compose down frontend
105+
88106.PHONY : data-juicer-helm-install
89107data-juicer-helm-install :
90108 sh deployment/helm/data-juicer/install.sh
Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ spring:
1212 # 数据源配置
1313 datasource :
1414 driver-class-name : com.mysql.cj.jdbc.Driver
15- url : jdbc:mysql://localhost:3306/knowledge_base ?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
16- username : ${DB_USERNAME:knowledge_user }
17- password : ${DB_PASSWORD:knowledge_password }
15+ url : jdbc:mysql://101.201.105.190:9988/dataengine ?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
16+ username : ${DB_USERNAME:root }
17+ password : ${DB_PASSWORD:Huawei@123 }
1818 hikari :
1919 maximum-pool-size : 20
2020 minimum-idle : 5
Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ spring:
1212 # 数据源配置
1313 datasource :
1414 driver-class-name : com.mysql.cj.jdbc.Driver
15- url : jdbc:mysql://mysql:3306 /dataengine?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
16- username : ${DB_USERNAME}
17- password : ${DB_PASSWORD}
15+ url : jdbc:mysql://101.201.105.190:9988 /dataengine?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
16+ username : ${DB_USERNAME:root }
17+ password : ${DB_PASSWORD:Huawei@123 }
1818 hikari :
1919 maximum-pool-size : 20
2020 minimum-idle : 5
Original file line number Diff line number Diff line change 1- # syntax=docker.io/docker/dockerfile:1
2-
31FROM node:18-alpine AS builder
42
53WORKDIR /app
@@ -9,7 +7,6 @@ COPY frontend ./
97RUN if [ -f package-lock.json ]; then npm ci; else npm install; fi && \
108 npm run build
119
12- # Production image, copy all the files and run next
1310FROM node:18-alpine AS runner
1411WORKDIR /app
1512
You can’t perform that action at this time.
0 commit comments