Guest User

Untitled

a guest
Jul 7th, 2023
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. version: '3.9'
  2.  
  3. x-base_service: &base_service
  4. ports:
  5. - "${WEBUI_PORT:-7860}:7860"
  6. volumes:
  7. - &v1 ./data:/data
  8. - &v2 ./output:/output
  9. stop_signal: SIGKILL
  10. tty: true
  11. deploy:
  12. resources:
  13. reservations:
  14. devices:
  15. - driver: nvidia
  16. device_ids: ['0']
  17. capabilities: [compute, utility]
  18.  
  19. name: webui-docker
  20.  
  21. services:
  22. download:
  23. build: ./services/download/
  24. profiles: ["download"]
  25. volumes:
  26. - *v1
  27.  
  28. auto: &automatic
  29. <<: *base_service
  30. profiles: ["auto"]
  31. build: ./services/AUTOMATIC1111
  32. image: sd-auto:62
  33. environment:
  34. - CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api
  35.  
  36. auto-cpu:
  37. <<: *automatic
  38. profiles: ["auto-cpu"]
  39. deploy: {}
  40. environment:
  41. - CLI_ARGS=--no-half --precision full --allow-code --enable-insecure-extension-access --api
  42.  
  43. invoke: &invoke
  44. <<: *base_service
  45. profiles: ["invoke"]
  46. build: ./services/invoke/
  47. image: sd-invoke:30
  48. environment:
  49. - PRELOAD=true
  50. - CLI_ARGS=--xformers
  51.  
  52. # invoke-cpu:
  53. # <<: *invoke
  54. # profiles: ["invoke-cpu"]
  55. # environment:
  56. # - PRELOAD=true
  57. # - CLI_ARGS=--always_use_cpu
  58.  
  59. comfy: &comfy
  60. <<: *base_service
  61. profiles: ["comfy"]
  62. build: ./services/comfy/
  63. image: sd-comfy:3
  64. environment:
  65. - CLI_ARGS=
  66.  
  67.  
  68. comfy-cpu:
  69. <<: *comfy
  70. profiles: ["comfy-cpu"]
  71. deploy: {}
  72. environment:
  73. - CLI_ARGS=--cpu
  74.  
Advertisement
Add Comment
Please, Sign In to add comment