mirror of
https://github.com/Sygil-Dev/sygil-webui.git
synced 2024-12-12 12:09:33 +03:00
Adding back deleted docker-compose.yml
This commit is contained in:
parent
91a4eba30c
commit
e9a5b1e9f1
29
docker-compose.yml
Normal file
29
docker-compose.yml
Normal file
@ -0,0 +1,29 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
stable-diffusion:
|
||||
container_name: sd-webui
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
env_file: .env_docker
|
||||
environment:
|
||||
PIP_EXISTS_ACTION: w
|
||||
volumes:
|
||||
- .:/sd
|
||||
- ./outputs:/sd/outputs
|
||||
- ./model_cache:/sd/model_cache
|
||||
- conda_env:/opt/conda
|
||||
- root_profile:/root
|
||||
ports:
|
||||
- '7860:7860'
|
||||
- '8501:8501'
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- capabilities: [ gpu ]
|
||||
|
||||
volumes:
|
||||
conda_env:
|
||||
root_profile:
|
Loading…
Reference in New Issue
Block a user