文件名: docker部署Easyvoice.txt
最后修改: 2026-01-01 15:40:25
文件大小: 0.9KB
services: easyvoice: image: cosincox/easyvoice:latest # 使用的镜像名称和标签 container_name: easyvoice # 容器的名称 ports: - 3780:3000 # 映射端口:主机的3780端口 -> 容器的3000端口 volumes: - ./audio:/app/audio # 将当前目录下的 audio 文件夹挂载到容器内的 /app/audio 路径 restart: always # 设置容器在退出时自动重启(始终重启) # [飞牛NAS本地部署开源TTS文本转语音工具EasyVoice与远程使用流程](https://blog.csdn.net/xianyun_0355/article/details/148161030) services: easyvoice: image: cosincox/easyvoice:latest restart: unless-stopped container_name: easyvoice ports: - "9549:3000" environment: - DEBUG=true - OPENAI_BASE_URL=https://openrouter.ai/api/v1/ volumes: - ./audio:/app/audio
复制成功!