compose.yml 531 B

123456789101112131415161718192021222324252627
  1. name: fish-speech
  2. services:
  3. webui:
  4. extends:
  5. file: compose.base.yml
  6. service: app-base
  7. build:
  8. target: webui
  9. environment:
  10. COMPILE: ${COMPILE:-0}
  11. profiles: ["webui"]
  12. ports:
  13. - "${GRADIO_PORT:-7860}:7860"
  14. server:
  15. extends:
  16. file: compose.base.yml
  17. service: app-base
  18. build:
  19. target: server
  20. environment:
  21. COMPILE: ${COMPILE:-0}
  22. FISH_API_SERVER_ARGS: ${FISH_API_SERVER_ARGS:{}}
  23. profiles: ["server"]
  24. ports:
  25. - "${API_PORT:-8080}:8080"