mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-08 01:14:03 +01:00
28 lines
545 B
YAML
28 lines
545 B
YAML
version: '3.3'
|
|
|
|
services:
|
|
stability-ai:
|
|
container_name: sd
|
|
ports:
|
|
- '5000:5000'
|
|
image: 'r8.im/stability-ai/stable-diffusion@sha256:06eb78b36068500c616a7f33c15e6fa40404f8e14b5bfad57ebe0c7fe0f6bdf1'
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- capabilities: [gpu]
|
|
|
|
stable-diffusion-ui:
|
|
container_name: sd-ui
|
|
ports:
|
|
- '8000:8000'
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
- .:/app
|
|
depends_on:
|
|
- stability-ai
|
|
|
|
networks:
|
|
default: |