Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Robin Thoni bbf48c0cdd modified to "share" ssh host port 6 gadus atpakaļ
gogs modified to "share" ssh host port 6 gadus atpakaļ
postgresql init 6 gadus atpakaļ
.gitignore init 6 gadus atpakaļ
README modified to "share" ssh host port 6 gadus atpakaļ
docker-compose.yml modified to "share" ssh host port 6 gadus atpakaļ
env modified to "share" ssh host port 6 gadus atpakaļ

README

Configure real git user
=======================

Create user and SSH key:
```
. ./env
groupadd -g "${PUID}" git
useradd -g git -u "${PGID}" git -d "$(pwd)"/data/gogs/git
sudo -u git ssh-keygen -f ~git/.ssh/id_rsa -N ''
echo -n 'no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ' | sudo -u git cat - ~git/.ssh/id_rsa.pub | sudo -u git tee ~git/.ssh/authorized_real_keys
```

/app/gogs/gogs:
```
#!/bin/sh
ssh -p 35021 -o StrictHostKeyChecking=no git@127.0.0.1 "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"
```