From 5b07ec6df0448bd43966260b1b7b70532c1d552b Mon Sep 17 00:00:00 2001 From: v6ole Date: Fri, 12 Jun 2026 14:36:03 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E6=9C=AC?= =?UTF-8?q?=E5=9C=B0=E5=89=8D=E7=AB=AF=E5=AE=B9=E5=99=A8=EF=BC=8C=E4=BB=85?= =?UTF-8?q?=E4=BF=9D=E7=95=99=E8=BF=9C=E7=A8=8B=E9=83=A8=E7=BD=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 本地前端因 Casdoor OAuth 回调固定指向 onu.dhdx.fun,无法完成 登录流程,没有实际用途。转为仅远程服务器部署。 本地服务器现仅需 2 容器:backend + celery-worker(含beat) Co-Authored-By: Claude --- docker-compose.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index dfd5cc8..1b9e99b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,16 +27,5 @@ services: backend: condition: service_healthy - frontend: - build: ./frontend - ports: - - "18002:80" - restart: unless-stopped - depends_on: - backend: - condition: service_healthy - healthcheck: - test: ["CMD", "wget", "-qO-", "http://localhost:80/health"] - interval: 15s - timeout: 10s - retries: 5 + # frontend 仅在远程服务器部署,本地通过 docker-compose 不再启动 + # 部署命令见 .claude/rules/07-remote-operations.md