音乐通过 Cloudreve 网盘上传,音乐服务由 navidrome 提供
文件目录
cloudreve
|--docker-compose.yml
|-- cloudreve
|-- uploads
|-- avatar
|-- aria2
|-- data
|-- navidata
docker-compose.yml
version: "3.8"
services:
cloudreve:
container_name: cloudreve
image: cloudreve/cloudreve:latest
restart: unless-stopped
ports:
- "<port1>:<port1>"
volumes:
- temp_data:/data
- ./cloudreve/uploads:/cloudreve/uploads
- ./cloudreve/conf.ini:/cloudreve/conf.ini
- ./cloudreve/cloudreve.db:/cloudreve/cloudreve.db
- ./cloudreve/avatar:/cloudreve/avatar
depends_on:
- aria2
aria2:
container_name: aria2
image: p3terx/aria2-pro
restart: unless-stopped
environment:
- RPC_SECRET=<your_token>
- RPC_PORT=6800
volumes:
- ./aria2/config:/config
- temp_data:/data
navidrome:
container_name: navidrome
image: deluan/navidrome:latest
#user: 1000:1000 # should be owner of volumes
ports:
- "<port2>:<port2>"
restart: unless-stopped
environment:
# Optional: put your config options customization here. Examples:
ND_SCANSCHEDULE: 1h
ND_LOGLEVEL: info
ND_SESSIONTIMEOUT: 24h
ND_BASEURL: ""
volumes:
- ./navidata:/data
- /<your-cloudreve-location>/cloudreve/uploads/1/<cloud-folder-name>:/music:ro
volumes:
temp_data:
driver: local
driver_opts:
type: none
device: $PWD/data
o: bind
推荐 Substreamer 作为 Android 系统的音乐播放器,连接 navidrome 即可使用