All-in-one Git hosting container
git clone git://git.janzachar.dev/git-serv.git
0#!/bin/sh12set -eu3#shellcheck source=config/env4. "/srv/config/env"56SSH="/home/$GIT_USER/.ssh"78mkdir -p "$SSH"9cat /srv/config/authorized_keys > "$SSH"/authorized_keys1011chown -R "$GIT_USER":"$GIT_USER" "$SSH"12chmod 700 "$SSH"13chmod -R 600 "$SSH"/*1415