Jpom/docker-compose.yml

34 lines
1.1 KiB
YAML
Raw Normal View History

2024-03-21 16:43:05 +08:00
#
# Copyright (c) 2019 Of Him Code Technology Studio
# Jpom is licensed under Mulan PSL v2.
# You can use this software according to the terms and conditions of the Mulan PSL v2.
# You may obtain a copy of Mulan PSL v2 at:
# http://license.coscl.org.cn/MulanPSL2
# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
# See the Mulan PSL v2 for more details.
#
version: '3.8'
services:
server:
2023-03-21 21:44:32 +08:00
env_file:
- env-release.env
2021-12-30 19:51:15 +08:00
image: jpomdocker/jpom:server-${JPOM_VERSION}
build:
2021-12-30 21:46:42 +08:00
dockerfile: ./modules/server/Dockerfile
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}
volumes:
- 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
ports:
- "2122:2122"
volumes:
jpom-server-data:
2023-01-05 12:54:35 +08:00
jpom-server-logs:
jpom-server-conf: