Stable Diffusion Docker Compose
Stable Diffusion Docker Compose 设置
介绍
Stable Diffusion采用潜在扩散模型(Latent Diffusion Model),能够根据文本描述生成详细的图像。它还可用于图像修复、图像绘制、文本转图像、图生图和图像处理等任务。简而言之,只需提供所需图片的文字描述,Stable Diffusion就能生成符合您要求的逼真图像!
Docker Compose
version: '3.9'
services:
stable_diffusion:
image: bobzhao1210/diffusion-webui:latest
restart: always
runtime: nvidia
container_name: stable_diffusion
network_mode: host
ports:
- '7860:7860'
volumes:
- /volume1/docker/stable_diffusion/models:/app/models
- /volume1/docker/stable_diffusion/outputs:/app/outputs
- /volume1/docker/stable_diffusion/extensions:/app/extensions
- /volume1/docker/stable_diffusion/configs:/app/configs
- /volume1/docker/stable_diffusion/others:/temp/others
environment:
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=all
评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果