2
0

docker-compose.yml 661 B

1234567891011121314151617181920212223242526272829
  1. services:
  2. tts-generation-webui:
  3. image: "ghcr.io/rsxdalv/tts-generation-webui:main"
  4. restart: unless-stopped
  5. ports:
  6. - "7770:7770"
  7. # include React UI
  8. - "3000:3000"
  9. container_name: tts-generation-webui
  10. deploy:
  11. resources:
  12. reservations:
  13. devices:
  14. - driver: nvidia
  15. device_ids: ['0']
  16. capabilities: [gpu]
  17. # for the future:
  18. # db:
  19. # image: postgres
  20. # restart: always
  21. # environment:
  22. # POSTGRES_PASSWORD: example
  23. # healthcheck:
  24. # test: ["CMD-SHELL", "pg_isready"]
  25. # interval: 1s
  26. # timeout: 5s
  27. # retries: 10