💡使用 Docker Compose 以更优雅的方式来部署小雅服务,支持一键部署 Alist + Emby + Jellyfin,全平台支持,Linux/Windows/Mac/群晖,X86/Arm架构
OTHER License
Docker Compose LinuxWindowsMacX86Arm
alist++emby/jellyfin
bash -c "$(curl -fsSL https://raw.githubusercontent.com/monlor/docker-xiaoya/main/install.sh)"
export GH_PROXY=https://gh.monlor.com/ IMAGE_PROXY=ghcr.monlor.com && bash -c "$(curl -fsSL ${GH_PROXY}https://raw.githubusercontent.com/monlor/docker-xiaoya/main/install.sh)"
alist | http://ip:5678 | - |
webdav | http://ip:5678/dav | guest/guest_Api789 |
tvbox | http://ip:5678/tvbox/my_ext.json | - |
emby | http://ip:2345 | xiaoya/1234 |
jellyfin | http://ip:2346 | ailg/5678 |
bash -c "$(curl -fsSL https://raw.githubusercontent.com/monlor/docker-xiaoya/main/uninstall.sh)"
export GH_PROXY=https://gh.monlor.com/ IMAGE_PROXY=ghcr.monlor.com && bash -c "$(curl -fsSL ${GH_PROXY}https://raw.githubusercontent.com/monlor/docker-xiaoya/main/uninstall.sh)"
docker-compose.ymlenvdocker-compose.ymlenv
cd
docker-compose up --remove-orphans -d
commit****
export VERSION=main && bash -c "$(curl -fsSL ${GH_PROXY}https://raw.githubusercontent.com/monlor/docker-xiaoya/${VERSION:-main}/install.sh)"
CPU | |||
---|---|---|---|
Alist + Emby | 2 | 4G | 140G |
Alist | 1 | 512M | 512M |
Alist + Emby + Jellyfin | 4 | 8G | 300G |
Alist + Jellyfin | 4 | 8G | 155G |
alist+emby
mkdir /opt/xiaoya
cd /opt/xiaoya
curl -#LO https://raw.githubusercontent.com/monlor/docker-xiaoya/main/docker-compose.yml
curl -#LO https://raw.githubusercontent.com/monlor/docker-xiaoya/main/env
docker compose up -d
docker compose logs
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
ver=0.161.0
curl -LO https://github.com/helmfile/helmfile/releases/download/v${ver}/helmfile_${ver}_linux_arm64.tar.gz
tar zxvf helmfile_${ver}_linux_arm64.tar.gz -C helmfile
mv helmfile/helmfile /usr/local/bin
rm -rf helmfile helmfile_${ver}_linux_arm64.tar.gz
helm plugin install https://github.com/databus23/helm-diff
curl -#LO https://raw.githubusercontent.com/monlor/docker-xiaoya/main/helmfile.yaml
env:
...
WEBDAV_PASSWORD:
ALIYUN_TOKEN:
ALIYUN_OPEN_TOKEN:
ALIYUN_FOLDER_ID:
QUARK_COOKIE:
PAN115_COOKIE:
PIKPAK_USER:
...
helmfile sync -f helmfile.yaml
docker volume create xiaoya
docker volume create media
docker volume create config
docker volume create meta
docker volume create cache
docker network create xiaoya
docker run -d --name alist \
-v xiaoya:/data \
-p 5678:5678 -p 2345:2345 -p 2346:2346 \
-e TZ=Asia/Shanghai \
-e ALIYUN_TOKEN=TOKEN \
-e ALIYUN_OPEN_TOKEN=Open Token \
-e ALIYUN_FOLDER_ID=ID \
-e QUARK_COOKIE=cookie \
-e AUTO_UPDATE_ENABLED=true \
-e AUTO_CLEAR_ENABLED=true \
--network=xiaoya \
ghcr.io/monlor/xiaoya-alist
docker run -d --name metadata \
-e LANG=C.UTF-8 \
-e EMBY_ENABLED=true \
-e JELLYFIN_ENABLED=false \
-e AUTO_UPDATE_EMBY_CONFIG_ENABLED=true \
-v xiaoya:/etc/xiaoya \
-v media:/media/xiaoya \
-v config:/media/config \
-v cache:/media/config/cache \
-v meta:/media/temp \
--network=xiaoya \
ghcr.io/monlor/xiaoya-metadata
docker run -d --name emby
-e TZ=Asia/Shanghai \
-e GIDLIST=0 \
-e ALIST_ADDR=http://alist:5678 \
-v media:/media \
-v config:/config \
-v cache:/cache \
-p 6908:6908 \
--network=xiaoya \
ghcr.io/monlor/xiaoya-embyserver
docker logs alist
docker logs metadata
docker logs emby
WEBDAV_PASSWORD
EMBY_APIKEY
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License.
https://github.com/DDS-Derek/xiaoya-alist
https://www.kdocs.cn/l/cvEe3cv6dGkH
https://xiaoyaliu.notion.site/xiaoya-docker-69404af849504fa5bcf9f2dd5ecaa75f