diff --git a/examples/authentik/.env b/examples/authentik_ldap/.env similarity index 100% rename from examples/authentik/.env rename to examples/authentik_ldap/.env diff --git a/examples/authentik/docker-compose.yml b/examples/authentik_ldap/docker-compose.yml similarity index 66% rename from examples/authentik/docker-compose.yml rename to examples/authentik_ldap/docker-compose.yml index e341477b..91fe05ce 100644 --- a/examples/authentik/docker-compose.yml +++ b/examples/authentik_ldap/docker-compose.yml @@ -39,16 +39,6 @@ services: - postgresql - redis - ldap: - image: ghcr.io/goauthentik/ldap - ports: - - "389:3389" - - "636:6636" - environment: - AUTHENTIK_HOST: http://server:9000 - AUTHENTIK_INSECURE: "false" - AUTHENTIK_TOKEN: Yi9VLtmTyhWLdolpEBsFVPOPlIHoNqWYVb4OnC03xMzitlWEAHX2XJOPtO6N - worker: image: ghcr.io/goauthentik/server:2024.4.2 command: worker @@ -70,6 +60,37 @@ services: - postgresql - redis + ldap: + image: ghcr.io/goauthentik/ldap + ports: + - "389:3389" + - "636:6636" + environment: + AUTHENTIK_HOST: http://server:9000 + 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 volumes: database: redis: + semaphore_data: diff --git a/examples/openldap/docker-compose.yml b/examples/openldap/docker-compose.yml index f0fb6167..46603677 100644 --- a/examples/openldap/docker-compose.yml +++ b/examples/openldap/docker-compose.yml @@ -30,7 +30,7 @@ services: # container_name: semaphore environment: SEMAPHORE_DB_DIALECT: "bolt" - SEMAPHORE_ADMIN_PASSWORD: "semaphore_admin" + SEMAPHORE_ADMIN_PASSWORD: "changeme" SEMAPHORE_ADMIN_NAME: "admin" SEMAPHORE_ADMIN_EMAIL: "admin@example.org" SEMAPHORE_LDAP_ACTIVATED: "yes"