Skip to content

Instantly share code, notes, and snippets.

@andy108369
Created November 8, 2023 15:43
Show Gist options
  • Save andy108369/c562ff729d3fd23c02d081cc844f2b7c to your computer and use it in GitHub Desktop.
Save andy108369/c562ff729d3fd23c02d081cc844f2b7c to your computer and use it in GitHub Desktop.
---
version: "2.0"
services:
comfy:
image: zjuuu/comfyui:0.6
expose:
- port: 8080
as: 8080
to:
- global: true
env:
- ENABLE_MANAGER=true
- VAEURLS=
- "MODELURLS=https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors,https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors"
- UPSCALEURLS=
- COMMANDLINE_ARGS=--listen --port 8080
comfy2:
image: zjuuu/comfyui:0.6
expose:
- port: 8080
as: 8080
to:
- global: true
env:
- ENABLE_MANAGER=true
- VAEURLS=
- "MODELURLS=https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors,https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors"
- UPSCALEURLS=
- COMMANDLINE_ARGS=--listen --port 8080
comfy3:
image: zjuuu/comfyui:0.6
expose:
- port: 8080
as: 8080
to:
- global: true
env:
- ENABLE_MANAGER=true
- VAEURLS=
- "MODELURLS=https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors,https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors"
- UPSCALEURLS=
- COMMANDLINE_ARGS=--listen --port 8080
profiles:
compute:
comfy:
resources:
cpu:
units: 6
memory:
size: 35Gi
storage:
- size: 50Gi
gpu:
units: 1
attributes:
vendor:
nvidia:
comfy2:
resources:
cpu:
units: 6
memory:
size: 35Gi
storage:
- size: 50Gi
gpu:
units: 1
attributes:
vendor:
nvidia:
- model: v100
comfy3:
resources:
cpu:
units: 6
memory:
size: 35Gi
storage:
- size: 50Gi
gpu:
units: 1
attributes:
vendor:
nvidia:
- model: a100
placement:
akash:
pricing:
comfy:
denom: uakt
amount: 10000
dcloud:
pricing:
comfy2:
denom: uakt
amount: 100000
comfy3:
denom: uakt
amount: 100000
deployment:
comfy:
akash:
profile: comfy
count: 1
comfy2:
dcloud:
profile: comfy2
count: 1
comfy3:
dcloud:
profile: comfy3
count: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment