Robin Thoni 483f82e1b6 init | 6 lat temu | |
---|---|---|
gitea | 6 lat temu | |
postgresql | 6 lat temu | |
.gitignore | 6 lat temu | |
README.md | 6 lat temu | |
docker-compose.yml | 6 lat temu | |
env | 6 lat temu |
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/gogs/gogs: (chmod +x)
#!/bin/sh
docker exec -e SSH_ORIGINAL_COMMAND="${SSH_ORIGINAL_COMMAND}" gitea-gitea $0 "$@"
/etc/ssh/sshd_config:
Match user git
PasswordAuthentication no