From 8d7b2667e1c324ca15b3d96471d53a6ab67715da Mon Sep 17 00:00:00 2001 From: dnslin Date: Mon, 15 Dec 2025 16:01:00 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E4=B8=8Bdocker-comp?= =?UTF-8?q?ose?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9929193..2748d3e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,9 @@ services: aria2bot: - build: . + # 方式一:使用预构建镜像(推荐) image: dnslin/aria2bot:latest + # 方式二:本地构建(取消下行注释,注释上行) + # build: . container_name: aria2bot restart: unless-stopped volumes: @@ -14,3 +16,4 @@ services: # 可选:暴露 aria2 RPC 端口(如需外部访问) # ports: # - "6800:6800" +