1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-26 09:35:00 +08:00
1Panel-Appstore/apps/xunlei/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

33 lines
904 B
YAML

services:
xunlei:
image: "cnk3x/xunlei:latest"
pull_policy: always
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}"
volumes:
- "${DATA_PATH}:${XL_DIR_DATA}"
- "${DOWNLOAD_PATH}:${XL_DIR_DOWNLOAD}"
environment:
- XL_DASHBOARD_PORT=${PANEL_APP_PORT_HTTP}
- XL_DASHBOARD_IP=${XL_DASHBOARD_IP}
- XL_DASHBOARD_USERNAME=${XL_DASHBOARD_USERNAME}
- XL_DASHBOARD_PASSWORD=${XL_DASHBOARD_PASSWORD}
- XL_DIR_DOWNLOAD=${XL_DIR_DOWNLOAD}
- XL_DIR_DATA=${XL_DIR_DATA}
- XL_UID=${XL_UID}
- XL_GID=${XL_GID}
- XL_PREVENT_UPDATE=${XL_PREVENT_UPDATE}
- XL_DEBUG=${XL_DEBUG}
hostname: ${HOSTNAME}
privileged: ${PRIVILEGED_MODE}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true