本帖最后由 一西啊 于 2024-10-28 13:51 编辑
一般我都是用compose直接改了路径的,你也可以复制进去,然后构建就好了
- version: '3.8'
- services:
- xunlei:
- image: registry.cn-guangzhou.aliyuncs.com/fnapp/cnk3x_xunlei:latest
- container_name: xunlei
- restart: always
- privileged: true
- environment:
- UID: ${TRIM_UID}
- GID: ${TRIM_GID}
- XL_DASHBOARD_USERNAME: ${wizard_username}
- XL_DASHBOARD_PASSWORD: ${wizard_password}
- volumes:
- - /var/apps/docker-xunlei/target/data:/xunlei/data
- - /vol2/1000/迅雷(改成你想放的文件夹的路径):/xunlei/downloads
- ports:
- - "2345:2345"
- networks:
- - trim-default
- networks:
- trim-default:
- external: true
复制代码
|