mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-29 01:56:13 +08:00
31 lines
762 B
YAML
31 lines
762 B
YAML
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
|
|
privileged: true
|
|
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
|