Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
huolongshe fa6c1b05d7 | 1 year ago | |
---|---|---|
.. | ||
central-server-config | 1 year ago | |
README.md | 1 year ago | |
consul.yml | 2 years ago | |
docker-compose.yml | 1 year ago | |
gateway.yml | 2 years ago | |
nexus.yml | 2 years ago | |
nexus_configure_prod.sh | 2 years ago | |
papp1.yml | 2 years ago | |
portal.yml | 2 years ago | |
uaa-mysql.yml | 2 years ago | |
uaa.yml | 2 years ago | |
uapp1.yml | 2 years ago | |
uapp2-mysql.yml | 2 years ago | |
uapp2.yml | 2 years ago |
基于 docker-compose 的单机生产环境部署脚本。
部署过程如下:
各微服务源代码编译
$ cd ~/cubenet/cubepy
$ sh build-dockers.sh
拉起并运行所有docker:
$ cd ~/cubenet/cubepy/prod
$ sudo docker-compose up
(建议使用 docker-compose 最新版 —— 1.29.0以上,可使用 docker-compose --version 命令查看当前版本号)
等待若干分钟后,用docker ps查看所有docker是否都已拉起,没有的话需要单个重启失败的微服务。
以uaa为例:
$ sudo docker-compose -f uaa.yml up
如果是在本机上生产环境第一次通过运行 docker-compose up 来启动Nexus(包括开发环境下启动),需等待nexus服务启动完成后(出现:Started Sonatype Nexus OSS 3.33.1-01),执行Nexus配置脚本:
$ sh nexus_configure_prod.sh
系统运行过程中,可以单独停掉某个docker并重启。以uaa为例:
$ sudo docker-compose -f uaa.yml down
停止并删除docker容器:
$ sudo docker-compose down
如果想删除nexus volume(建议不要删除):
$sudo docker volume rm nexus-data
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》