1
0

feat:添加diosic到列表(感谢网友包子叔的投稿)

This commit is contained in:
okxlin
2023-11-29 18:16:45 +08:00
parent e1402d522c
commit 75c5fd357f
6 changed files with 110 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
CONTAINER_NAME="diosic"
PANEL_APP_PORT_HTTP="40177"
DATA_PATH="./data/data"
MUSIC_PATH="./data/library"
LIBRARY_NAME="我的音乐库"

View File

@@ -0,0 +1,31 @@
additionalProperties:
formFields:
- default: 40177
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: ./data/data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
- default: ./data/library
edit: true
envKey: MUSIC_PATH
labelEn: Music folder path
labelZh: 音乐文件夹路径
required: true
type: text
- default: "我的音乐库"
edit: true
envKey: LIBRARY_NAME
labelEn: Music library name
labelZh: 音乐库名称
required: true
type: text

View File

@@ -0,0 +1,22 @@
version: '3.9'
services:
diosic:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:3177"
volumes:
- "${DATA_PATH}:/data"
- "${MUSIC_PATH}:/library"
environment:
- "LIB_NAME_1=${LIBRARY_NAME}"
user: 1000:1000
image: jinker25/diosic:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true