https://hub.docker.com/r/jpomdocker/jpom
https://gitee.com/dromara/Jpom
https://github.com/dromara/Jpom
https://jpom.io/
docker run -d -p 2122:2122 --name jpom --restart=always --privileged -v /data/site/docker/data/jpom/conf:/usr/local/jpom-server/conf -v /data/site/docker/data/jpom/logs:/usr/local/jpom-server/logs -v /data/site/docker/data/jpom/data:/usr/local/jpom-server/data -v /etc/localtime:/etc/localtime:ro jpomdocker/jpom
http://g.htmltoo.com:2122
一款简而轻的低侵入式在线构建、自动部署、日常运维、项目监控软件
service jpom-server {status | start | stop}
service jpom-agent {status | start | stop}
# 服务端
Server.sh start 启动Jpom服务端
Server.sh stop 停止Jpom服务端
Server.sh restart 重启Jpom服务端
Server.sh status 查看Jpom服务端运行状态
Server.sh create 创建Jpom服务端的应用服务(jpom-server)
# 插件端
Agent.sh start 启动Jpom插件端
Agent.sh stop 停止Jpom插件端
Agent.sh restart 重启Jpom插件端
Agent.sh status 查看Jpom插件端运行状态
Agent.sh create 创建Jpom插件端的应用服务(jpom-agent)
---Server 端和 Agent 端不可安装在同一目录下!
mkdir -p /opt/jpom/{server,agent}
---一键安装插件端
cd /opt/jpom/agent
-wget -O install.sh https://dromara.gitee.io/jpom/docs/install.sh && bash install.sh Agent jdk
wget -O install.sh https://dromara.gitee.io/jpom/docs/install.sh && bash install.sh Agent
-插件端的端口为 2123,插件端提供给服务端使用
-Authorization information storage
agentName: jpomAgent agentPwd: j9tpljb24d
cat:/opt/jpom/agent/data/agent_authorize.json
---一键安装安装服务端和 jdk、maven 环境
cd /opt/jpom/server
wget -O install.sh https://dromara.gitee.io/jpom/docs/install.sh && bash install.sh Server jdk+mvn
http://b.htmltoo.com:2122
-节点列表,新增127
agentName: jpomAgent agentPwd: j9tpljb24d
-配置白名单
项目白名单是为了防止随意配置目录,同时也为了保护系统目录
-在节点下添加项目
-进入项目上传jar包
-点击“控制台”启动项目
每次只需要重新上传jar包,再进行重启操作完成部署