1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 05:41:03 +08:00
1Panel-Appstore/apps/sub2clash/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

29 lines
748 B
YAML

services:
sub2clash:
image: nite07/sub2clash:latest
pull_policy: always
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}"
volumes:
- ./data/logs:/app/logs
- ./data/templates:/app/templates
- ./data/data:/app/data
environment:
- PORT=${PANEL_APP_PORT_HTTP}
- META_TEMPLATE=${META_TEMPLATE}
- PROXY_TEMPLATE=${PROXY_TEMPLATE}
- REQUEST_RETRY_TIMES=${REQUEST_RETRY_TIMES}
- REQUEST_MAX_FILE_SIZE=${REQUEST_MAX_FILE_SIZE}
- CACHE_EXPIRE=${CACHE_EXPIRE}
- LOG_LEVEL=${LOG_LEVEL}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true