From b4ba6f5d86f9a5da78add65712c1c392a34ee7b1 Mon Sep 17 00:00:00 2001 From: ikun0014 Date: Sun, 3 Mar 2024 13:25:18 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E6=94=B9Docker=E6=90=AD?= =?UTF-8?q?=E5=BB=BA=E6=95=99=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++++-- README_EN.md | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a7b1248..d166847 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ linux 命令如果为 python3 请自行替换 环境要求:Docker -该方法无法使用QRC解密库,本地歌曲需自行于容器中安装ffmpeg,后期改进,不知道需要的 Docker 版本,可以自己尝试现有的 Docker 版本是否可以使用 +不知道需要的 Docker 版本,可以自己尝试现有的 Docker 版本是否可以使用 1. 更新软件包 @@ -127,9 +127,13 @@ linux 命令如果为 python3 请自行替换 3. 创建容器 ```bash - docker run --name lx-music-api-server-python -p 9763:9763 -v /root/lx-music-api-server-python:/app/data --restart always -d ikun0014/lx-music-api-server-python:latest + docker run --name lx-music-api-server-python -p 9763:9763 -v /root/lx-music-api-server-python/config:/lxapidocker/lx-music-api-server-python/config -v /root/lx-music-api-server-python/logs:/lxapidocker/lx-music-api-server-python/logs --restart always -d ikun0014/lx-music-api-server-python:latest ``` +4. 填写配置 + +前往/root/lx-music-api-server-python/config填写 (权限不足可修改创建容器命令) + ## 📖返回码说明 接口返回值中`body.code`字段值中的代码含义 diff --git a/README_EN.md b/README_EN.md index 900be8e..7e0cdd0 100644 --- a/README_EN.md +++ b/README_EN.md @@ -108,7 +108,7 @@ If you are using linux, you command maybe python3, please replace it yourself. Required environment: Docker -This method cannot load the QRC decryption library, the local song requires ffmpeg installed in the container , and this will be improved later, We don't know the Docker version you need, you can try whether the existing Docker version can be used by yourself. +We don't know the Docker version you need, you can try whether the existing Docker version can be used by yourself. 1. Update package