1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-19 21:01:02 +08:00
1Panel-Appstore/apps/sd-comfyui/latest/docker-compose.yml
pooneyy 7ff35caf28
🔧 chore(apps): set the pull policy for all services using fixed tag images
- add `pull_policy: always` to all service definitions across all docker-compose files
- ensure consistent image update behavior for all applications
- maintain existing network configurations and external network settings
- preserve all other service configurations and environment variables
2025-11-10 16:10:24 +08:00

34 lines
844 B
YAML

services:
sd-comfyui:
build: ./comfy
image: sd-comfyui:latest
pull_policy: always
container_name: ${CONTAINER_NAME}
restart: always
runtime: nvidia
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8188"
volumes:
- ${DATA_PATH}:/data
- ${OUTPUT_PATH}:/output
environment:
- CLI_ARGS=${SD_CONSOLE_CLI_COMFY}
- APT_ARGS=${SD_CONSOLE_APT_COMFY}
- PIP_ARGS=${SD_CONSOLE_PIP_COMFY}
- NVIDIA_DRIVER_CAPABILITIES=compute,utility
- NVIDIA_VISIBLE_DEVICES=all
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['${SD_CONSOLE_DEVICE_IDS}']
capabilities: [gpu, compute, utility]
labels:
createdBy: Apps
networks:
1panel-network:
external: true