修改原有Dockerfile和文档中错误的端口号;Dockerfile中可以去掉 VOLUME 的声明,同时将端口暴露缩减成一行。

This commit is contained in:
Kenn Zhang
2024-02-13 03:33:44 +00:00
parent 3857c7d15b
commit c990387f7e
6 changed files with 8 additions and 16 deletions

View File

@@ -2,10 +2,11 @@ version: '3.8'
services:
gpt-sovits:
image: breakstring/gpt-sovits:xxxxx # please change the image name and tag base your environment
image: breakstring/gpt-sovits:latest # please change the image name and tag base your environment. If the tag contains the word 'elite', such as "latest-elite", it indicates that the image does not include the necessary models such as GPT-SoVITS, UVR5, Damo ASR, etc. You will need to download them yourself and map them into the container.
container_name: gpt-sovits-container
environment:
- is_half=False
- is_share=False
volumes:
- ./output:/workspace/output
- ./logs:/workspace/logs
@@ -13,7 +14,7 @@ services:
- ./reference:/workspace/reference
working_dir: /workspace
ports:
- "9870:9870"
- "9880:9880"
- "9871:9871"
- "9872:9872"
- "9873:9873"