From b1416fef868767bd20a1b993edd7a33d9d5b24a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=96=8C?= <259278618@qq.com> Date: Mon, 3 Aug 2026 12:32:18 +0800 Subject: [PATCH] =?UTF-8?q?ng=E4=BB=A3=E7=90=86minio=E6=94=AF=E6=8C=81webs?= =?UTF-8?q?ocket?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose-infra-main.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docker-compose-infra-main.yml b/docker-compose-infra-main.yml index 53efa6a..f4af6f4 100644 --- a/docker-compose-infra-main.yml +++ b/docker-compose-infra-main.yml @@ -165,6 +165,28 @@ services: networks: - redfuture-net + # ---- Gitea (Git 代码托管) ---- + gitea: + image: docker.m.daocloud.io/gitea/gitea:latest + container_name: gitea + restart: unless-stopped + ports: + - "3000:3000" + - "2222:2222" + environment: + USER_UID: 1000 + USER_GID: 1000 + GITEA__server__SSH_PORT: "2222" + volumes: + - /data/gitea:/data + networks: + - redfuture-net + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:3000/api/healthz"] + interval: 30s + timeout: 5s + retries: 3 + # ---- Nginx 反向代理 ---- nginx: build: