mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2025-12-06 07:12:11 +01:00
fix for permissions
This commit is contained in:
parent
c37c3359a1
commit
13c323be9b
|
|
@ -1,28 +0,0 @@
|
|||
services:
|
||||
|
||||
comfyui:
|
||||
build: ./services/ComfyUI/
|
||||
image: comfyui
|
||||
# user: ${PUID:-1000}:${PGID:-1000}
|
||||
# environment:
|
||||
# - PUID=${PUID:-1000}
|
||||
# - PGID=${PGID:-1000}
|
||||
# - CLI_ARGS=
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- ./data:/data
|
||||
- ./output:/output
|
||||
ports:
|
||||
- "7860:7860"
|
||||
stop_signal: SIGKILL
|
||||
tty: true
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: ${DEVICE_DRIVER:-nvidia}
|
||||
device_ids: ['0']
|
||||
capabilities: [compute, utility]
|
||||
restart: unless-stopped
|
||||
|
||||
|
|
@ -24,6 +24,10 @@ services:
|
|||
download:
|
||||
build: ./services/download/
|
||||
profiles: ["download"]
|
||||
user: ${PUID:-1000}:${PGID:-1000}
|
||||
environment:
|
||||
- PUID=${PUID:-1000}
|
||||
- PGID=${PGID:-1000}
|
||||
volumes:
|
||||
- *v1
|
||||
|
||||
|
|
@ -50,7 +54,6 @@ services:
|
|||
environment:
|
||||
- CLI_ARGS=
|
||||
|
||||
|
||||
comfy-cpu:
|
||||
<<: *comfy
|
||||
profiles: ["comfy-cpu"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue