From b264ffd3810f95bf83f215a567a31d9e43865686 Mon Sep 17 00:00:00 2001 From: monlor Date: Fri, 31 May 2024 16:55:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20EMBY=5FURL=E5=92=8CALIST?= =?UTF-8?q?=5FADDR=E9=BB=98=E8=AE=A4=E5=80=BC=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 +++ docker-compose.yml | 2 ++ glue/README.md | 6 ++++++ glue/update_emby.sh | 4 ++-- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5b9743e..5b93a24 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,7 @@ docker run -d --name alist \ -e ALIYUN_FOLDER_ID=阿里云盘文件夹ID \ -e AUTO_UPDATE_ENABLED=true \ -e AUTO_CLEAR_ENABLED=true \ + -e EMBY_ADDR=http://emby:6908 \ --network=xiaoya \ ghcr.io/monlor/xiaoya-alist ``` @@ -120,6 +121,8 @@ docker run -d --name glue \ -e EMBY_ENABLED=true \ -e JELLYFIN_ENABLED=false \ -e AUTO_UPDATE_EMBY_CONFIG_ENABLED=true \ + -e ALIST_ADDR=http://alist:5678 \ + -e EMBY_ADDR=http://emby:6908 \ -v xiaoya:/etc/xiaoya \ -v media:/media/xiaoya \ -v config:/media/config \ diff --git a/docker-compose.yml b/docker-compose.yml index 5762e7a..fe9af4c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,6 +17,7 @@ services: - ALIYUN_FOLDER_ID= - AUTO_UPDATE_ENABLED=true - AUTO_CLEAR_ENABLED=true + # - EMBY_ADDR=http://emby:6908 restart: unless-stopped networks: - default @@ -26,6 +27,7 @@ services: environment: - LANG=C.UTF-8 # - ALIST_ADDR=http://alist:5678 + # - EMBY_ADDR=http://emby:6908 - EMBY_ENABLED=true - JELLYFIN_ENABLED=false - AUTO_UPDATE_EMBY_CONFIG_ENABLED=true diff --git a/glue/README.md b/glue/README.md index 5276c86..e0cc5db 100644 --- a/glue/README.md +++ b/glue/README.md @@ -4,6 +4,12 @@ `AUTO_UPDATE_EMBY_INTERVAL`: 自动更新emby配置间隔,默认7,单位天 +`EMBY_APIKEY`: emby api 密钥 + +`EMBY_URL`: emby地址,默认:http://emby:6908 + +`ALIST_ADDR`: alist地址,默认:http://alist:5678 + ## 手动更新emby配置 进入容器执行:`/update_emby.sh` \ No newline at end of file diff --git a/glue/update_emby.sh b/glue/update_emby.sh index 0133db3..e01e005 100644 --- a/glue/update_emby.sh +++ b/glue/update_emby.sh @@ -3,8 +3,8 @@ set -e EMBY_APIKEY=${EMBY_APIKEY:-e825ed6f7f8f44ffa0563cddaddce14d} -EMBY_URL=${EMBY_URL:-http://emby:8096} -ALIST_ADDR=${ALIST_ADDR:=http://alist:80} +EMBY_URL=${EMBY_URL:-http://emby:6908} +ALIST_ADDR=${ALIST_ADDR:=http://alist:5678} MEDIA_DIR="/media"