mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
docs(examples): complete example
This commit is contained in:
parent
3a40cd491f
commit
f26bb6c2b2
@ -1,2 +0,0 @@
|
||||
PG_PASS=mgXHPydZHMpir8h3bUWxxkV1LyBQfizpP1zW3CXN8iewkgNC
|
||||
AUTHENTIK_SECRET_KEY=dNHpMtjAgw2D1NXiyeKgJ/olDuUQ5ieWZVBDr/6CVK0wDyK/8r9vj8Lv9DfworfJlA8iVk3u/DXQE+1Z
|
1
examples/authentik_ldap/.gitignore
vendored
Normal file
1
examples/authentik_ldap/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/.env
|
@ -5,6 +5,8 @@
|
||||
```
|
||||
echo "PG_PASS=$(openssl rand 36 | base64)" >> .env
|
||||
echo "AUTHENTIK_SECRET_KEY=$(openssl rand 60 | base64)" >> .env
|
||||
echo AUTHENTIK_TOKEN= >> .env
|
||||
echo SEMAPHORE_LDAP_BIND_PASSWORD= >> .env
|
||||
docker-compose up -d
|
||||
```
|
||||
2. To start the initial setup, navigate to http://localhsot:9000/if/flow/initial-setup/.
|
||||
@ -14,16 +16,17 @@
|
||||
1. Copy `AUTHENTIK_TOKEN` to clipboard.
|
||||
|
||||
<img src="https://github.com/semaphoreui/semaphore/assets/914224/9e08d4cc-4526-4ace-8b45-2c065188857b" width="600">
|
||||
|
||||
2. Update `AUTHENTIK_TOKEN` for LDAP service.
|
||||
3. Reload the stack:
|
||||
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:
|
||||
```
|
||||
docker-compose down
|
||||
docker-compose up -d
|
||||
```
|
||||
5. Create new Semaphore project:
|
||||
1. Open http://localhost:3000
|
||||
2. Login as `john`
|
||||
2. Login as `ldapservice`
|
||||
3. Create demo project
|
||||
|
||||
<img src="https://github.com/semaphoreui/semaphore/assets/914224/98b780a7-bfbc-4b45-941f-7dd6ca337685" width="600">
|
||||
|
@ -68,8 +68,8 @@ services:
|
||||
environment:
|
||||
AUTHENTIK_HOST: http://server:9000
|
||||
AUTHENTIK_INSECURE: "false"
|
||||
AUTHENTIK_TOKEN: DdmZvpMV9Jb7XAw0nts08jQ43hMOsx4ANkkABLz4s9HpxV8mWzxdYjF5WIpg
|
||||
|
||||
env_file:
|
||||
- .env
|
||||
semaphore:
|
||||
image: semaphoreui/semaphore:latest
|
||||
environment:
|
||||
@ -81,9 +81,10 @@ services:
|
||||
SEMAPHORE_LDAP_SERVER: "ldap:3389"
|
||||
SEMAPHORE_LDAP_SEARCH_DN: "ou=users,dc=ldap,dc=goauthentik,dc=io"
|
||||
SEMAPHORE_LDAP_BIND_DN: "cn=ldapservice,ou=users,DC=ldap,DC=goauthentik,DC=io"
|
||||
SEMAPHORE_LDAP_BIND_PASSWORD: "changeme"
|
||||
SEMAPHORE_LDAP_USERFILTER: "(&(objectClass=inetOrgPerson)(cn=%s))"
|
||||
SEMAPHORE_NON_ADMIN_CAN_CREATE_PROJECT: "yes"
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
|
Loading…
Reference in New Issue
Block a user