1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitea_ynh.git synced 2024-09-03 20:36:22 +02:00

Auto-update README

This commit is contained in:
yunohost-bot 2022-07-17 14:21:06 +00:00
parent 603ecae309
commit c56db33d62
2 changed files with 24 additions and 4 deletions

View file

@ -43,11 +43,11 @@ Gitea is a painless self-hosted Git service. It is similar to GitHub, Bitbucket,
## Notes on SSH usage
If you want to use Gitea with SSH and be able to pull/push with you SSH key, your SSH daemon must be properly configured to use private/public keys. Here is a sample configuration of `/etc/ssh/sshd_config` that works with Gogs:
If you want to use Gitea with ssh and be able to pull/push with you ssh key, your ssh daemon must be properly configured to use private/public keys. Here is a sample configuration of `/etc/ssh/sshd_config` that works with Gitea:
```bash
PubkeyAuthentication yes
AuthorizedKeysFile %h/.ssh/authorized_keys
AuthorizedKeysFile /home/%u/.ssh/authorized_keys
ChallengeResponseAuthentication no
PasswordAuthentication no
UsePAM no
@ -62,10 +62,20 @@ Host domain.tld
port 2222 # change this with the port you use
```
You will also need to add the gitea user in the ssh permission with this command:
```bash
sudo adduser gitea ssh.app
```
## Private Mode
Actually it's possible to access to the Git repositories by the `git` command over HTTP also in private mode installation. It's important to know that in this mode the repository could be ALSO getted if you don't set the repository as private in the repos settings.
## Remove Gitea
Due of the backup core only feature the data directory in `/home/yunohost.app/gitea` is not removed unless using thr purge option: `sudo yunohost app remove gitea --purge`
## Documentation and resources
* Official app website: <https://gitea.io/>

View file

@ -30,11 +30,11 @@ Gitea est un service Git auto-hébergé. Il est similaire à GitHub, Bitbucket e
## Notes on SSH usage
If you want to use Gitea with SSH and be able to pull/push with you SSH key, your SSH daemon must be properly configured to use private/public keys. Here is a sample configuration of `/etc/ssh/sshd_config` that works with Gogs:
If you want to use Gitea with ssh and be able to pull/push with you ssh key, your ssh daemon must be properly configured to use private/public keys. Here is a sample configuration of `/etc/ssh/sshd_config` that works with Gitea:
```bash
PubkeyAuthentication yes
AuthorizedKeysFile %h/.ssh/authorized_keys
AuthorizedKeysFile /home/%u/.ssh/authorized_keys
ChallengeResponseAuthentication no
PasswordAuthentication no
UsePAM no
@ -49,10 +49,20 @@ Host domain.tld
port 2222 # change this with the port you use
```
You will also need to add the gitea user in the ssh permission with this command:
```bash
sudo adduser gitea ssh.app
```
## Private Mode
Actually it's possible to access to the Git repositories by the `git` command over HTTP also in private mode installation. It's important to know that in this mode the repository could be ALSO getted if you don't set the repository as private in the repos settings.
## Remove Gitea
Due of the backup core only feature the data directory in `/home/yunohost.app/gitea` is not removed unless using thr purge option: `sudo yunohost app remove gitea --purge`
## Documentations et ressources
* Site officiel de l'app : <https://gitea.io/>