简介
alist-tvbox 是一个 AList 代理,支持 xiaoya 版 AList 界面管理
部署
native 版本
native 版本内存占用更少
1
2
|
mkdir -p /opt/container/alist-tvbox
cd /opt/container/alist-tvbox
|
填入一下内容
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
version: '3.9'
services:
xiaoya-tvbox:
image: 'haroldli/xiaoya-tvbox:native'
container_name: xiaoya-tvbox
restart: unless-stopped
volumes:
- './alist-tvbox_data:/data'
environment:
- ALIST_PORT=5344
ports:
- '5344:80'
- '4567:4567'
deploy:
resources:
limits:
cpus: '0.85' # 限制 CPU 最大 85%
networks:
- alist_network
networks:
alist_network:
external: true
|