1
0
Fork 0
local-diffusion/docker-compose.yaml

28 lines
813 B
YAML
Raw Normal View History

services:
stable-diffusion-webui-forge:
build: ./stable-diffusion-webui-forge
restart: unless-stopped
environment:
- HSA_OVERRIDE_GFX_VERSION=11.0.0
ports:
- 7860:7860
devices:
- /dev/kfd
- /dev/dri
volumes:
- ./shared/lora:/app/models/Lora
- ./shared/tensors:/app/models/Stable-diffusion
- ./shared/vae/:/app/models/VAE
- ./shared/embeddings:/app/embeddings
- ./stable-diffusion-webui-forge/extensions:/app/extensions
- ./stable-diffusion-webui-forge/repositories:/app/repositories
- ./stable-diffusion-webui-forge/outputs:/app/outputs
- ./stable-diffusion-webui-forge/favorites:/app/log/images
group_add:
- video
ipc: host
cap_add:
- SYS_PTRACE
security_opt:
- seccomp=unconfined