1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2025-12-11 15:38:14 +08:00

Auto-Generate docs 🤖

This commit is contained in:
Issues Docs [BOT]
2025-05-15 04:19:50 +00:00
parent 9e03c26f3f
commit 4838070f50
2 changed files with 37 additions and 2 deletions

View File

@@ -70,5 +70,40 @@ docker compose down
## 评论
没有评论。
### 评论 1 - tiger326
我用这个是可以正常启动和搭建好xiaomusic, 一切都OK.
不过我的NAS是qnap, 已禁用默认的admin用户, 使用自建的管理员账户登录.
但这个配置会默认使用admin用户执行, 导致一旦产生tmp和download目录以及相关文件, 都归属于admin用户.
结果我自建的用户在NAS上无法删除和编辑这些下载的文件.
xiaomusic是否支持创建时指定用户和用户组?
---
### 评论 2 - hanxi
@tiger326 把下面的 username 换成普通的用户名即可,换成 uid 数字也行,一般是 1000
```shell
mkdir -p /xiaomusic
cat <<EOF > /xiaomusic/docker-compose.yml
services:
xiaomusic:
image: docker.hanxi.cc/hanxi/xiaomusic
container_name: xiaomusic
restart: unless-stopped
user: username
ports:
- 58090:8090
environment:
XIAOMUSIC_PUBLIC_PORT: 58090
volumes:
- /xiaomusic_conf:/app/conf
- /xiaomusic_music:/app/music
EOF
```
---
[链接到 GitHub Issue](https://github.com/hanxi/xiaomusic/issues/360)

View File

@@ -4,7 +4,7 @@ title: 微信交流群二维码
# 微信交流群二维码
![Image](https://gproxy.hanxi.cc/proxy/user-attachments/assets/08623dc9-53c5-448a-8d70-bbcd85a804f5)
![Image](https://gproxy.hanxi.cc/proxy/user-attachments/assets/84592bac-dbce-4f98-ab90-f261993b5f73)
如果你刚好在买流量卡,可以在我的微信卡店里看看有没有合适的。
![mmexportc6bd050862507d2806a2da710a82cb28_1735878113870](https://gproxy.hanxi.cc/proxy/user-attachments/assets/ca5a86e0-f753-42d3-8dcb-8583d50d64aa)