- SSH登录群晖,sudo -i切换到root用户
- 创建自定义网络
docker network create \
--driver=bridge \
--subnet=192.168.100.0/24 \
--gateway=192.168.100.1 \
moviepilot
- 启动容器
docker run -d \
--name moviepilot-v2 \
--hostname moviepilot-v2 \
--restart always \
-p 3000:3000 \
-p 3001:3001 \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
-v /volume1/Docker/moviepilot/config:/config \
-v /volume1/Docker/moviepilot/core:/moviepilot/.cache/ms-playwright \
-v /volume2/media:/media \
-v /volume2/downloads:/downloads \
--env NGINX_PORT=3000 \
--env PORT=3001 \
--env PUID=0 \
--env PGID=0 \
--env UMASK=022 \
--env TZ=Asia/Shanghai \
--env PROXY_HOST=http://a.b.c.d \ 自已网络设置
--env MOVIEPILOT_AUTO_UPDATE=release \
--env AUTH_SITE=rousi \
--env ROUSI_UID=123123 \
--env ROUSI_PASSKEY=1234567890 \
--env SUPERUSER=admin \ 用户名
--env DOH_ENABLE=false \
--network moviepilot \
--ip 192.168.100.6 \
jxxghp/moviepilot-v2:latest