25 lines
822 B
Plaintext
25 lines
822 B
Plaintext
#生成docker image
|
|
./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 -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-jvm.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中打开
|
|
./mvnw.cmd native:compile -Pnative
|
|
|
|
#有生云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 |