mirror of
https://github.com/dnslin/aria2bot.git
synced 2026-01-11 20:12:20 +08:00
feat: add ci and docker file
This commit is contained in:
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
aria2bot:
|
||||
build: .
|
||||
image: dnslin/aria2bot:latest
|
||||
container_name: aria2bot
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
# 下载目录
|
||||
- ./downloads:/root/downloads
|
||||
# aria2 配置目录(包含配置文件、会话、云存储令牌)
|
||||
- ./config:/root/.config/aria2
|
||||
env_file:
|
||||
- .env
|
||||
# 可选:暴露 aria2 RPC 端口(如需外部访问)
|
||||
# ports:
|
||||
# - "6800:6800"
|
||||
Reference in New Issue
Block a user