Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Robin Thoni 74505f0008 removed useless env values il y a 5 ans
gitea init il y a 5 ans
postgresql init il y a 5 ans
.gitignore init il y a 5 ans
README.md fixed readme user id il y a 5 ans
docker-compose.yml init il y a 5 ans
env removed useless env values il y a 5 ans

README.md

Configure real git user

Create git user:

groupadd -g 1000 git
useradd -g git -u 1000 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