-
Notifications
You must be signed in to change notification settings - Fork 6
Docker安装
cayalume edited this page May 23, 2026
·
2 revisions
目前仅支持通过docker命令拉取镜像
docker run -d \
--name strm-cayflow \
--user root \
--network host \
-p 8092:8092 \
-p 8091:8091 \
-v /volume1:/volume1 \
-v /opt/115strm/data:/app/data \
-v /opt/115strm/config.json:/app/config.json \
-e TZ=Asia/Shanghai \
--restart=always \
cayalume/strm-cayflow:latestversion: '3.8' # 推荐使用较新的版本规范
services:
strm-cayflow:
image: cayalume/strm-cayflow:latest
container_name: strm-cayflow
user: root
network_mode: "host" # 关键:使用主机网络模式
ports:
- "8091:8091"
- "8092:8092"
volumes:
- /volume1:/volume1
- /opt/115strm/data:/app/data
- /opt/115strm/config.json:/app/config.json
environment:
- TZ=Asia/Shanghai
restart: always
| 本地路径 | 容器路径 | 说明 |
|---|---|---|
| /volume1 | /volume1 | 网盘挂载路径 |
| /opt/115strm/data | /app/data | 容器数据存放路径 |
| /opt/115strm/config.json | /app/config.json | 容器各项配置储存路径 |
- 运行容器前确保映射路径有config.json这个文件,如果没有务必创建一个同名空文件,会自动写入
- 安装完成后启动容器:
http://ip:8092 进入登录页面