2021-12-12 09:53:10 +08:00
|
|
|
version: '3.8'
|
|
|
|
services:
|
|
|
|
server:
|
2021-12-30 19:51:15 +08:00
|
|
|
image: jpomdocker/jpom:server-${JPOM_VERSION}
|
2021-12-12 09:53:10 +08:00
|
|
|
build:
|
2021-12-30 21:46:42 +08:00
|
|
|
dockerfile: ./modules/server/Dockerfile
|
2021-12-12 09:53:10 +08:00
|
|
|
context: .
|
2021-12-12 20:29:21 +08:00
|
|
|
args:
|
|
|
|
JPOM_VERSION: ${JPOM_VERSION}
|
2021-12-13 19:43:55 +08:00
|
|
|
environment:
|
|
|
|
"jpom.authorize.token": ${SERVER_TOKEN}
|
2021-12-12 09:53:10 +08:00
|
|
|
volumes:
|
2022-05-11 13:57:22 +08:00
|
|
|
- jpom-server-data:/usr/local/jpom-server/data
|
2023-01-05 12:54:35 +08:00
|
|
|
- jpom-server-logs:/usr/local/jpom-server/logs
|
|
|
|
- jpom-server-conf:/usr/local/jpom-server/conf
|
2021-12-12 09:53:10 +08:00
|
|
|
ports:
|
|
|
|
- "2122:2122"
|
|
|
|
volumes:
|
2022-05-11 13:57:22 +08:00
|
|
|
jpom-server-data:
|
2023-01-05 12:54:35 +08:00
|
|
|
jpom-server-logs:
|
|
|
|
jpom-server-conf:
|