Skip to content

Commit

Permalink
feat: 🎸 EMBY_URL和ALIST_ADDR默认值修改
Browse files Browse the repository at this point in the history
  • Loading branch information
monlor committed May 31, 2024
1 parent 32c7b3a commit b264ffd
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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 \
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 6 additions & 0 deletions glue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
4 changes: 2 additions & 2 deletions glue/update_emby.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit b264ffd

Please sign in to comment.