Semaphore/examples/authentik_ldap/README.md

33 lines
1.3 KiB
Markdown
Raw Normal View History

2024-06-01 00:11:29 +02:00
# 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
2024-06-01 12:12:14 +02:00
echo AUTHENTIK_TOKEN= >> .env
echo SEMAPHORE_LDAP_BIND_PASSWORD= >> .env
2024-06-01 00:11:29 +02:00
docker-compose up -d
```
2024-06-01 00:15:08 +02:00
2. To start the initial setup, navigate to http://localhsot:9000/if/flow/initial-setup/.
There you are prompted to set a password for the `akadmin` user (the default user).
3. Set up LDAP in Athentik according to the video tutorial [Authentik - LDAP Generic Setup](https://youtu.be/RtPKMMKRT_E).
2024-06-01 11:32:53 +02:00
4. Set up Athentik LDAP and Semaphore containers:
2024-06-01 11:34:27 +02:00
1. Copy `AUTHENTIK_TOKEN` to clipboard.
<img src="https://github.com/semaphoreui/semaphore/assets/914224/9e08d4cc-4526-4ace-8b45-2c065188857b" width="600">
2024-06-01 12:12:14 +02:00
2. Open `.env` file and:
1. Paste copied value after `AUTHENTIK_TOKEN=`
2. Enter your `ldapservice` user password after `SEMAPHORE_LDAP_BIND_PASSWORD=`
3. Down and up the stack to apply changes:
2024-06-01 00:11:29 +02:00
```
docker-compose down
docker-compose up -d
```
2024-06-01 00:15:08 +02:00
5. Create new Semaphore project:
2024-06-01 00:11:29 +02:00
1. Open http://localhost:3000
2024-06-01 12:12:14 +02:00
2. Login as `ldapservice`
2024-06-01 00:11:29 +02:00
3. Create demo project
<img src="https://github.com/semaphoreui/semaphore/assets/914224/98b780a7-bfbc-4b45-941f-7dd6ca337685" width="600">