easydiffusion/docker-compose.yml

39 lines
749 B
YAML
Raw Normal View History

2022-08-24 15:51:56 +02:00
version: '3.3'
services:
stability-ai:
container_name: sd
ports:
- '5000:5000'
2022-08-26 19:01:08 +02:00
image: 'r8.im/stability-ai/stable-diffusion@sha256:be04660a5b93ef2aff61e3668dedb4cbeb14941e62a3fd5998364a32d613e35e'
2022-08-24 15:51:56 +02:00
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
stable-diffusion-ui:
container_name: sd-ui
ports:
2022-08-27 10:34:29 +02:00
- '9000:8000'
2022-08-24 15:51:56 +02:00
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/app
depends_on:
- stability-ai
stable-diffusion-old-port-redirect:
container_name: sd-old-port-redirect
ports:
- '8000:8000'
build:
context: .
dockerfile: OldPortDockerfile
volumes:
- .:/app
2022-08-24 15:51:56 +02:00
networks:
2022-08-27 10:34:29 +02:00
default: