Extracting SD.Next to its own docker compose file.

This commit is contained in:
eleiton
2025-03-22 00:41:32 +01:00
parent 7d106fa79d
commit b56c16647e
4 changed files with 34 additions and 52 deletions

25
docker-compose.sdnext.yml Normal file
View File

@@ -0,0 +1,25 @@
version: '3'
services:
sdnext-ipex:
build:
context: sdnext
dockerfile: Dockerfile
image: sdnext-ipex:latest
container_name: sdnext-ipex
restart: unless-stopped
devices:
- /dev/dri:/dev/dri
ports:
- 7860:7860
volumes:
- sdnext-app-volume:/app
- sdnext-mnt-volume:/mnt
- sdnext-huggingface-volume:/root/.cache/huggingface
- sdnext-python-volume:/usr/local/lib/python3.10
volumes:
sdnext-app-volume: {}
sdnext-mnt-volume: {}
sdnext-python-volume: {}
sdnext-huggingface-volume: {}