2024-09-23 12:05:41 +08:00
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|
|
|
|
services:
|
|
|
|
xunlei-cnk3x:
|
|
|
|
image: cnk3x/xunlei:v3.20.2
|
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP}:2345
|
2024-09-23 13:13:34 +08:00
|
|
|
privileged: true
|
2024-09-23 12:05:41 +08:00
|
|
|
env_file:
|
|
|
|
- /etc/1panel/envs/global.env
|
|
|
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
|
|
|
volumes:
|
|
|
|
- ${XUNLEI_ROOT_PATH}/data:/xunlei/data
|
|
|
|
- ${XUNLEI_ROOT_PATH}/downloads:/xunlei/downloads
|
|
|
|
environment:
|
|
|
|
- XL_UID=0
|
|
|
|
- XL_GID=0
|
|
|
|
- XL_DASHBOARD_PORT=2345
|
|
|
|
- XL_DASHBOARD_IP=0.0.0.0
|
|
|
|
- XL_DIR_DOWNLOAD=/xunlei/downloads
|
|
|
|
- XL_DIR_DATA=/xunlei/data
|
|
|
|
- XL_PREVENT_UPDATE=true
|
|
|
|
- XL_DEBUG=false
|