mirror of
https://github.com/okxlin/appstore.git
synced 2025-07-13 21:02:18 +08:00
feat:添加diosic到列表(感谢网友包子叔的投稿)
This commit is contained in:
parent
e1402d522c
commit
75c5fd357f
32
apps/diosic/README.md
Normal file
32
apps/diosic/README.md
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# 使用说明
|
||||||
|
|
||||||
|
容器以普通用户身份运行的,
|
||||||
|
|
||||||
|
但是默认面板创建应用时,可能会将所需的数据文件夹设定身份为`root`,导致首次运行异常。
|
||||||
|
|
||||||
|
不用在意,执行以下命令,将文件夹改成普通用户身份,再重建应用即可。
|
||||||
|
|
||||||
|
- 路径注意按需修改
|
||||||
|
```
|
||||||
|
chown -R 1000:1000 /opt/1panel/apps/local/diosic/diosic/data
|
||||||
|
```
|
||||||
|
|
||||||
|
- 也可以:进入已安装应用界面,点击跳转数据目录,修改目录下的`data`文件夹为`www-data`用户。
|
||||||
|
|
||||||
|
***
|
||||||
|
# 原始相关
|
||||||
|
|
||||||
|
# 欢迎来到 Diosic!
|
||||||
|
Diosic 是一个开源的基于网络的音乐收集服务器和流媒体。 主要适合需要部署在硬件规格不高的服务器上的用户。
|
||||||
|
|
||||||
|
# 低内存占用和高性能
|
||||||
|
Diosic 使用 Rust 开发,具有低内存占用和高性能。
|
||||||
|
|
||||||
|
# 网页界面
|
||||||
|
Diosic 提供 web ui 来流式传输音乐或控制某些东西。
|
||||||
|
|
||||||
|
# 部署、使用、截图等
|
||||||
|
您可以轻松部署 Diosic 或从 [文档](https://reknij.github.io/DiosicDocCN/) 查看用法。
|
||||||
|
|
||||||
|
# 注意
|
||||||
|
library 存放音乐文件
|
20
apps/diosic/data.yml
Normal file
20
apps/diosic/data.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
name: Diosic
|
||||||
|
tags:
|
||||||
|
- 工具
|
||||||
|
title: 一个开源的基于网络的音乐收集服务器和流媒体
|
||||||
|
type: 工具
|
||||||
|
description: 一个开源的基于网络的音乐收集服务器和流媒体
|
||||||
|
additionalProperties:
|
||||||
|
key: diosic
|
||||||
|
name: Diosic
|
||||||
|
tags:
|
||||||
|
- Tool
|
||||||
|
shortDescZh: 一个开源的基于网络的音乐收集服务器和流媒体
|
||||||
|
shortDescEn: An open source web-based music collection server and streamer
|
||||||
|
type: tool
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
recommend: 0
|
||||||
|
website: https://github.com/Reknij/diosic
|
||||||
|
github: https://github.com/Reknij/diosic
|
||||||
|
document: https://reknij.github.io/DiosicDocCN/
|
5
apps/diosic/latest/.env.sample
Normal file
5
apps/diosic/latest/.env.sample
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
CONTAINER_NAME="diosic"
|
||||||
|
PANEL_APP_PORT_HTTP="40177"
|
||||||
|
DATA_PATH="./data/data"
|
||||||
|
MUSIC_PATH="./data/library"
|
||||||
|
LIBRARY_NAME="我的音乐库"
|
31
apps/diosic/latest/data.yml
Normal file
31
apps/diosic/latest/data.yml
Normal 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
|
22
apps/diosic/latest/docker-compose.yml
Normal file
22
apps/diosic/latest/docker-compose.yml
Normal 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
|
BIN
apps/diosic/logo.png
Normal file
BIN
apps/diosic/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
Loading…
Reference in New Issue
Block a user