精简提交历史记录
This commit is contained in:
3
apps/mcsmanager-daemon/latest/.env.sample
Normal file
3
apps/mcsmanager-daemon/latest/.env.sample
Normal file
@@ -0,0 +1,3 @@
|
||||
CONTAINER_NAME="mcsmanager-daemon"
|
||||
PANEL_APP_PORT_HTTP="40057"
|
||||
DATA_PATH="./data"
|
||||
18
apps/mcsmanager-daemon/latest/data.yml
Normal file
18
apps/mcsmanager-daemon/latest/data.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40057
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ./data
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data folder path
|
||||
labelZh: 数据文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
|
||||
19
apps/mcsmanager-daemon/latest/docker-compose.yml
Normal file
19
apps/mcsmanager-daemon/latest/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
version: '3'
|
||||
services:
|
||||
mcsm-daemon:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:24444"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/opt/mcsmanager/daemon/data"
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
image: alisaqaq/mcsmanager-daemon:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user