Docker化初步版本完成
This commit is contained in:
31
docker-compose.yaml
Normal file
31
docker-compose.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
gpt-sovits:
|
||||
image: breakstring/gpt-sovits:dev-20240123.03
|
||||
container_name: gpt-sovits-container
|
||||
environment:
|
||||
- is_half=False
|
||||
volumes:
|
||||
- G:/GPT-SoVITS-DockerTest/output:/workspace/output
|
||||
- G:/GPT-SoVITS-DockerTest/logs:/workspace/logs
|
||||
- G:/GPT-SoVITS-DockerTest/SoVITS_weights:/workspace/SoVITS_weights
|
||||
- G:/GPT-SoVITS-DockerTest/reference:/workspace/reference
|
||||
working_dir: /workspace
|
||||
ports:
|
||||
- "9870:9870"
|
||||
- "9871:9871"
|
||||
- "9872:9872"
|
||||
- "9873:9873"
|
||||
- "9874:9874"
|
||||
shm_size: 16G
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: "all"
|
||||
capabilities: [gpu]
|
||||
stdin_open: true
|
||||
tty: true
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user