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:
- './xiaoya-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
|