From 66421eebec2e2ce0e29b397a471f1b301e73025f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=94=A6=E5=BC=BA?= <1061669148@qq.com> Date: Wed, 6 Aug 2025 22:43:02 +0800 Subject: [PATCH] Updates Docker config path and ignores system files Changes Docker volume mount path from /app/configs to /configs for simpler container structure. Adds .DS_Store to gitignore for macOS compatibility and normalizes .idea/ entry to .idea for consistency. #20 --- .gitignore | 3 ++- README.md | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 366d579..60422f5 100644 --- a/.gitignore +++ b/.gitignore @@ -25,4 +25,5 @@ go.work.sum # env file .env -.idea/ +.DS_Store +.idea diff --git a/README.md b/README.md index 3fe4e65..399348f 100644 --- a/README.md +++ b/README.md @@ -86,12 +86,12 @@ curl -X POST "http://localhost:8080/v1/audio/speech" \ docker run -d -p 9000:9000 -e PORT=9000 --name=tts zuoban/zb-tts # 使用配置文件 -docker run -d -p 8080:8080 -v /path/to/config.yaml:/app/configs/config.yaml --name=tts zuoban/zb-tts +docker run -d -p 8080:8080 -v /path/to/config.yaml:/configs/config.yaml --name=tts zuoban/zb-tts ``` ### 配置文件详解 -TTS 服务使用 YAML 格式的配置文件,默认位置为 `/app/configs/config.yaml`。以下是配置文件的主要选项: +TTS 服务使用 YAML 格式的配置文件,默认位置为 `/configs/config.yaml`。以下是配置文件的主要选项: ```yaml server: