Update 'README'

stable
Andrew Selukov 2019-11-28 17:27:10 +00:00
parent acc2f12acc
commit 7d79bdcb28
1 changed files with 35 additions and 2 deletions

View File

@ -6,7 +6,7 @@ You must have configured your LDAP with gitea


Here I will give the settings for a simple [LDAP](https://github.com/rroemhild/docker-test-openldap), you can configure by changing the code as you like Here I will give the settings for a simple [LDAP](https://github.com/rroemhild/docker-test-openldap), you can configure by changing the code as you like


If you configured the gitea <=> [LDAP](https://github.com/rroemhild/docker-test-openldap) connection correctly, you should have users If you configured the [Gitea](https://hub.docker.com/r/gitea/gitea) <=> [LDAP](https://github.com/rroemhild/docker-test-openldap) connection correctly, you should have users


![](images/Image1.png) ![](images/Image1.png)


@ -15,3 +15,36 @@ You need to create Manage Access Tokens and add key to run.sh or docker-compose.
The application supports several keys, since to add people to the group you must be the owner of the organization. The application supports several keys, since to add people to the group you must be the owner of the organization.


![](images/Image2.png) ![](images/Image2.png)

#### create organizations in gitea

![](images/Image3.png)

#### add the appropriate groups in our case: ship_crew, admin_staff

![](images/Image4.png)

### Usage


REP_TIME: '@every 1m' -- you can change the synchronization time of groups


```
docker-compose up
```

or

```
./run.sh
```
![](images/Image8.png)


### Realise
![](images/Image5.png)

![](images/Image6.png)

![](images/Image7.png)