From fe76d52de499fa74f72bd9b5fce06a8c34bf0a85 Mon Sep 17 00:00:00 2001 From: lingkai5wu Date: Fri, 14 Aug 2026 21:57:50 +0800 Subject: [PATCH] feat: add gitea --- gitea/compose.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 gitea/compose.yaml diff --git a/gitea/compose.yaml b/gitea/compose.yaml new file mode 100644 index 0000000..b329b57 --- /dev/null +++ b/gitea/compose.yaml @@ -0,0 +1,21 @@ +name: gitea +services: + server: + image: docker.gitea.com/gitea:1 + container_name: gitea + volumes: + - /srv/data/gitea:/data + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + environment: + - USER_UID=1000 + - USER_GID=1000 + ports: + - '0.0.0.0:3000:3000' + # - 222:22 + restart: unless-stopped + deploy: + resources: + limits: + cpus: "1.0" + memory: 512M