1 Star 0 Fork 1.7K

可乐君/Jpom

forked from dromara/Jpom 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
version: '3.8'
services:
server:
image: jpomdocker/jpom:server-${JPOM_VERSION}
build:
dockerfile: ./modules/server/Dockerfile
context: .
args:
JPOM_VERSION: ${JPOM_VERSION}
environment:
"jpom.authorize.token": ${SERVER_TOKEN}
volumes:
- jpom-server-data:/usr/local/jpom-server/data
- jpom-server-log:/usr/local/jpom-server/log
ports:
- "2122:2122"
agent01:
image: jpomdocker/jpom:agent-${JPOM_VERSION}
build:
dockerfile: ./modules/agent/Dockerfile
context: .
args:
JPOM_VERSION: ${JPOM_VERSION}
environment:
"jpom.server.token": ${SERVER_TOKEN}
"jpom.server.url": http://server:2122
"jpom.agent.id": agent01
"jpom.agent.url": http://agent01:2123
volumes:
- jpom-agent01:/usr/local/jpom-agent
ports:
- "2123:2123"
depends_on:
- server
agent02:
image: jpomdocker/jpom:agent-${JPOM_VERSION}
build:
dockerfile: ./modules/agent/Dockerfile
context: .
args:
JPOM_VERSION: ${JPOM_VERSION}
environment:
"jpom.server.token": ${SERVER_TOKEN}
"jpom.server.url": http://server:2122
"jpom.agent.id": agent02
"jpom.agent.url": http://agent02:2123
volumes:
- jpom-agent02:/usr/local/jpom-agent
ports:
- "2124:2123"
depends_on:
- server
volumes:
jpom-agent01:
jpom-agent02:
jpom-server-data:
jpom-server-log:
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/colaKun/Jpom.git
git@gitee.com:colaKun/Jpom.git
colaKun
Jpom
Jpom
master

搜索帮助