mirror of
https://github.com/Sygil-Dev/sygil-webui.git
synced 2024-12-15 06:21:34 +03:00
26 lines
439 B
YAML
26 lines
439 B
YAML
|
version: '3.3'
|
||
|
|
||
|
services:
|
||
|
stable-diffusion:
|
||
|
container_name: sd
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: Dockerfile
|
||
|
env_file: .env_docker
|
||
|
volumes:
|
||
|
- .:/sd
|
||
|
- ./outputs:/sd/outputs
|
||
|
- conda_env:/opt/conda
|
||
|
- root_profile:/root
|
||
|
ports:
|
||
|
- '7860:7860'
|
||
|
deploy:
|
||
|
resources:
|
||
|
reservations:
|
||
|
devices:
|
||
|
- capabilities: [gpu]
|
||
|
|
||
|
volumes:
|
||
|
conda_env:
|
||
|
root_profile:
|