[新服务] dim 流媒体播放器
date
Feb 3, 2022
slug
newservice-dim-player
status
Published
summary
新服务 类似emby jellyfin
tags
service
type
Post
Summary
- 流媒体播放器
步骤
#1 docker
export DOCKER_NAME='dimplayer'
export DOCKER_PORT=11089
mkdir -p /data/$DOCKER_NAME; cd /data/$DOCKER_NAME
mkdir media config
ln -s /data/gd_omgd/_psn_gd_omgd/SSS/ media/gd_omgd_sss
docker run -d \
--restart always \
--name=$DOCKER_NAME \
-p $DOCKER_PORT:8000/tcp \
-e TZ=Asia/Hong_Kong \
-v $(pwd)/config:/opt/dim/config \
-v $(pwd)/media:/media:ro \
-v $(pwd)/media/gd_omgd_sss:/media/gd_omgd_sss:ro \
ghcr.io/dusk-labs/dim:dev
docker logs -f $DOCKER_NAME
#2 登陆 - 第一次可以创建admin 用户名密码
#3 添加域名和反代
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Upgrade $http_upgrade;
proxy_read_timeout 86400;