docker-compose.yaml 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. version: '3.8'
  2. services:
  3. gpt-sovits:
  4. 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.
  5. container_name: gpt-sovits-container
  6. environment:
  7. - is_half=False
  8. - is_share=False
  9. volumes:
  10. - ./output:/workspace/output
  11. - ./logs:/workspace/logs
  12. - ./SoVITS_weights:/workspace/SoVITS_weights
  13. - ./reference:/workspace/reference
  14. working_dir: /workspace
  15. ports:
  16. - "9880:9880"
  17. - "9871:9871"
  18. - "9872:9872"
  19. - "9873:9873"
  20. - "9874:9874"
  21. shm_size: 16G
  22. deploy:
  23. resources:
  24. reservations:
  25. devices:
  26. - driver: nvidia
  27. count: "all"
  28. capabilities: [gpu]
  29. stdin_open: true
  30. tty: true
  31. restart: unless-stopped