Robin Thoni b877f065d0 fixed readme for gitea | il y a 5 ans | |
---|---|---|
gitea | il y a 5 ans | |
postgresql | il y a 5 ans | |
.gitignore | il y a 5 ans | |
README.md | il y a 5 ans | |
docker-compose.yml | il y a 5 ans | |
env | il y a 5 ans |
Create git user:
. ./env
groupadd -g "${PUID}" git
useradd -g git -u "${PGID}" git -d "$(pwd)"/data/gitea/data/git
usermod -a -G docker git
/app/gitea/gitea: (chmod +x)
#!/bin/sh
docker exec -i -u git -e SSH_ORIGINAL_COMMAND="${SSH_ORIGINAL_COMMAND}" gitea-gitea $0 "$@"
/etc/ssh/sshd_config:
Match user git
PasswordAuthentication no