snowy/aliyun-flow-document/部署文档

28 lines
726 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

###使用说明
使用阿里云云效自动发布Docker镜像需要先开通阿里云ARC容器服务
开通后创建JDK 与Nginx的阿里云镜像在创建控制台前端与接口后端的镜像仓库然后根据下列变量名部署到云效部署上。
参数说明
DOCKER_USERNAME 私有镜像仓库用户名
PROJECT_NAME 容器项目名
REGISTRY_TAG 构建的容器标签
EXPOSE_PORT 对外暴露端口
INTERNAL_PORT 内部运行端口
RELEASE_TAG 部署到本地的镜像标签
REGISTRY_IMAGE 容器所在镜像的地址
REGISTRY_URL 容器仓库地址
NETWORK 容器的虚拟网络名
./console-deployment-script 前端控制台的云效部署脚本
./api-deployment-script 接口的云效部署脚本