mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-02 11:58:01 +08:00
28 lines
558 B
YAML
28 lines
558 B
YAML
version: '3.8'
|
|
services:
|
|
server:
|
|
image: jpom_server:${JPOM_VERSION}
|
|
build:
|
|
dockerfile: Dockerfile.server
|
|
context: .
|
|
args:
|
|
JPOM_VERSION: ${JPOM_VERSION}
|
|
volumes:
|
|
- jpom-server:/usr/local/jpom-server
|
|
ports:
|
|
- "2122:2122"
|
|
agent:
|
|
image: jpom_agent:${JPOM_VERSION}
|
|
build:
|
|
dockerfile: Dockerfile.agent
|
|
context: .
|
|
args:
|
|
JPOM_VERSION: ${JPOM_VERSION}
|
|
volumes:
|
|
- jpom-agent:/usr/local/jpom-agent
|
|
ports:
|
|
- "2123:2123"
|
|
volumes:
|
|
jpom-agent:
|
|
jpom-server:
|