From e1d14e68cb47258d1119841be9802e55568ffcd0 Mon Sep 17 00:00:00 2001 From: lsy Date: Thu, 26 Sep 2024 16:30:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=BD=AF=E4=BB=B6=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Config/Docker/Softwares/gitea.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Config/Docker/Softwares/gitea.sh b/Config/Docker/Softwares/gitea.sh index f196212..0f8d14d 100644 --- a/Config/Docker/Softwares/gitea.sh +++ b/Config/Docker/Softwares/gitea.sh @@ -57,6 +57,7 @@ services: volumes: - ./mysql:/var/lib/mysql EOF +chown -R git:git $path sudo docker compose up -d sudo -u git ssh -p $(( port+22 )) -o StrictHostKeyChecking=no git@127.0.0.1 "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"