冲浪看到个docker-compose的Alist&Aria2一键部署,分享给佬们
version: '3'
services:
alist:
image: 'xhofe/alist:latest'
container_name: alist
volumes:
- './alist:/opt/alist/data'
ports:
- '5244:5244'
environment:
- PUID=0
- PGID=0
- UMASK=022
restart: unless-stopped
depends_on:
- aria2
networks:
- aria2-network
aria2:
image: superng6/aria2:webui-latest
container_name: aria2
environment:
- PUID=0
- PGID=0
- TZ=Asia/Shanghai
- SECRET=Password
- CACHE=512M
- PORT=6800
- BTPORT=32516
- WEBUI=true
- WEBUI_PORT=8080
- UT=true
- RUT=true
- FA=falloc
- QUIET=true
- SMD=true
ports:
- "32516:32516"
- "32516:32516/udp"
- "6800:6800"
- "8880:8080"
volumes:
- ./aria2/config:/config
- ./aria2/downloads:/downloads
- ./alist:/opt/alist/data
restart: unless-stopped
networks:
- aria2-network
networks:
aria2-network:
driver: bridge