This commit is contained in:
dzj 2023-11-02 13:52:17 +08:00
parent 571acfa030
commit 390b397ca3
1 changed files with 13 additions and 1 deletions

View File

@ -1,13 +1,25 @@
#生成docker image
./mvnw.cmd clean install -Pjib -Dmaven.test.skip=true ./mvnw.cmd clean install -Pjib -Dmaven.test.skip=true
./mvnw.cmd clean spring-boot:build-image -Dmaven.test.skip=true ./mvnw.cmd clean spring-boot:build-image -Dmaven.test.skip=true
./mvnw.cmd clean spring-boot:build-image -Pnative -Dmaven.test.skip=true ./mvnw.cmd clean spring-boot:build-image -Pnative -Dmaven.test.skip=true
#运行docker image
docker compose -f compose.yml up -d
docker compose -f compose-demo01-jib.yml up -d docker compose -f compose-demo01-jib.yml up -d
docker compose -f compose-demo01-jvm.yml up -d docker compose -f compose-demo01-jvm.yml up -d
docker compose -f compose-demo01-native.yml up -d docker compose -f compose-demo01-native.yml up -d
docker compose -f compose-traefik.yml up -d
#最好在x64 Native Tools Command Prompt for VS 2022中打开 #最好在x64 Native Tools Command Prompt for VS 2022中打开
./mvnw.cmd native:compile -Pnative ./mvnw.cmd native:compile -Pnative
#有生云docker文件夹
C:\workspace\y9-digitalbase-v9.7.x\y9-digitalbase\docker
C:\workspace\y9-digitalbase-v9.7.x\y9-digitalbase\docker #阿里云域名、DNS
https://dns.console.aliyun.com/
#阿里云SSL设置
https://yundun.console.aliyun.com/?spm=0.2020520154.top-nav.4.1f88NZsJNZsJrP&p=cas#/overview/cn-hangzhou