add stable diffusion
This commit is contained in:
@@ -0,0 +1,22 @@
|
|||||||
|
services:
|
||||||
|
stable-diffusion:
|
||||||
|
container_name: stable-diffusion
|
||||||
|
image: ghcr.io/ai-dock/stable-diffusion-webui:latest-cuda
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- 7860:7860
|
||||||
|
environment:
|
||||||
|
- NVIDIA_VISIBLE_DEVICES=all
|
||||||
|
- NVIDIA_DRIVER_CAPABILITIES=compute,utility
|
||||||
|
- TZ=America/New_York
|
||||||
|
- WEBUI_ARGS=--xformers --api
|
||||||
|
- AUTO_UPDATE=false
|
||||||
|
volumes:
|
||||||
|
- /srv/stable-diffusion/workspace:/workspace
|
||||||
|
runtime: nvidia
|
||||||
|
networks:
|
||||||
|
- npm-network
|
||||||
|
|
||||||
|
networks:
|
||||||
|
npm-network:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user