Git : Use git user.

This commit is contained in:
Dmitry Voronin 2024-08-24 19:26:50 +03:00
parent 37df6bdc0c
commit 8189be6cc3
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 9 additions and 7 deletions

View file

@ -65,12 +65,14 @@ in {
"service".DISABLE_REGISTRATION = true;
"log".LEVEL = "Error";
"server" = {
DISABLE_SSH = false;
SSH_PORT = cfg.portSsh;
START_SSH_SERVER = true;
DOMAIN = cfg.domain;
HTTP_ADDR = cfg.address;
ROOT_URL = "https://${cfg.domain}";
BUILTIN_SSH_SERVER_USER = "git";
DISABLE_SSH = false;
SSH_PORT = cfg.portSsh;
START_SSH_SERVER = true;
};
"ui" = {
AMBIGUOUS_UNICODE_DETECTION = false;

View file

@ -179,7 +179,7 @@
return 2
fi
git clone https://git.voronind.com/voronind/"''${repo}"
git clone ssh://git@git.voronind.com:22144/voronind/"''${repo}"
}
# See diff for a specific commit. Last commit by default.