chore(examples): update readme

This commit is contained in:
fiftin 2024-06-01 11:32:53 +02:00
parent 7c2b926507
commit 3da3da5d74
No known key found for this signature in database
GPG Key ID: 044381366A5D4731
2 changed files with 23 additions and 27 deletions

View File

@ -10,16 +10,12 @@
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).
4. Set up Athentik LDAP container:
4. Set up Athentik LDAP and Semaphore containers:
1. Copy `AUTHENTIK_TOKEN`.
2. Stop stack by command:
2. Update `AUTHENTIK_TOKEN` for LDAP service.
3. Reload the stack:
```
docker-compose down
```
3. Update `AUTHENTIK_TOKEN` for LDAP service.
4. Start stack again:
```
docker-compose up -d
```
5. Create new Semaphore project:

View File

@ -70,26 +70,26 @@ services:
AUTHENTIK_INSECURE: "false"
AUTHENTIK_TOKEN: DdmZvpMV9Jb7XAw0nts08jQ43hMOsx4ANkkABLz4s9HpxV8mWzxdYjF5WIpg
# semaphore:
# image: semaphoreui/semaphore:latest
# environment:
# SEMAPHORE_DB_DIALECT: "bolt"
# SEMAPHORE_ADMIN_PASSWORD: "changeme"
# SEMAPHORE_ADMIN_NAME: "admin"
# SEMAPHORE_ADMIN_EMAIL: "admin@example.org"
# SEMAPHORE_LDAP_ACTIVATED: "yes"
# 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"
# ports:
# - "3000:3000"
# volumes:
# - semaphore_data:/var/lib/semaphore
# depends_on:
# - ldap
semaphore:
image: semaphoreui/semaphore:latest
environment:
SEMAPHORE_DB_DIALECT: "bolt"
SEMAPHORE_ADMIN_PASSWORD: "changeme"
SEMAPHORE_ADMIN_NAME: "admin"
SEMAPHORE_ADMIN_EMAIL: "admin@example.org"
SEMAPHORE_LDAP_ACTIVATED: "yes"
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"
ports:
- "3000:3000"
volumes:
- semaphore_data:/var/lib/semaphore
depends_on:
- ldap
volumes:
database:
redis: