docs(examples): add readme

This commit is contained in:
fiftin 2024-06-01 00:11:29 +02:00
parent 814514280c
commit 71de0a359a
No known key found for this signature in database
GPG Key ID: 044381366A5D4731
2 changed files with 31 additions and 2 deletions

View File

@ -0,0 +1,28 @@
# Semaphore with Authentik LDAP example
1. Start stack by command:
```
echo "PG_PASS=$(openssl rand 36 | base64)" >> .env
echo "AUTHENTIK_SECRET_KEY=$(openssl rand 60 | base64)" >> .env
docker-compose up -d
```
2. Set up LDAP in Athentik according to the video tutorial [Authentik - LDAP Generic Setup](https://youtu.be/RtPKMMKRT_E).
3. Set up Athentik LDAP service:
1. Copy `AUTHENTIK_TOKEN`.
2. Stop stack by command:
```
docker-compose down
```
3. Update `AUTHENTIK_TOKEN` for LDAP service.
4. Start stack again:
```
docker-compose up -d
```
4. Create new Semaphore project:
1. Open http://localhost:3000
2. Login as `john`
3. Create demo project
<img src="https://github.com/semaphoreui/semaphore/assets/914224/98b780a7-bfbc-4b45-941f-7dd6ca337685" width="600">

View File

@ -1,8 +1,9 @@
# Semaphore with OpenLDAP example
1. Start stack by command:
```docker-compose up```
```
docker-compose up -d
```
2. Create new LDAP user:
1. Open https://localhost:6443
2. Login as `cn=admin,dc=example,dc=org` with password `admin`