mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
feat: add openldap example
This commit is contained in:
parent
cf11555562
commit
51e64e6f88
0
examples/openldap/README.md
Normal file
0
examples/openldap/README.md
Normal file
52
examples/openldap/docker-compose.yml
Normal file
52
examples/openldap/docker-compose.yml
Normal file
@ -0,0 +1,52 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
ldap:
|
||||
image: osixia/openldap:1.5.0
|
||||
container_name: openldap
|
||||
environment:
|
||||
LDAP_ORGANISATION: "Example Inc."
|
||||
LDAP_DOMAIN: "example.org"
|
||||
LDAP_ADMIN_PASSWORD: "admin"
|
||||
ports:
|
||||
- "389:389"
|
||||
- "636:636"
|
||||
volumes:
|
||||
- ldap_data:/var/lib/ldap
|
||||
- ldap_config:/etc/ldap/slapd.d
|
||||
|
||||
ldap_admin:
|
||||
image: osixia/phpldapadmin:0.9.0
|
||||
container_name: phpldapadmin
|
||||
environment:
|
||||
PHPLDAPADMIN_LDAP_HOSTS: ldap
|
||||
ports:
|
||||
- "6443:443"
|
||||
depends_on:
|
||||
- ldap
|
||||
|
||||
semaphore:
|
||||
image: semaphoreui/semaphore:v2.9.113-beta
|
||||
container_name: semaphore
|
||||
environment:
|
||||
SEMAPHORE_DB_DIALECT: "bolt"
|
||||
SEMAPHORE_ADMIN_PASSWORD: "semaphore_admin"
|
||||
SEMAPHORE_ADMIN_NAME: "admin"
|
||||
SEMAPHORE_ADMIN_EMAIL: "admin@example.org"
|
||||
SEMAPHORE_LDAP_ACTIVATED: "yes"
|
||||
SEMAPHORE_LDAP_SERVER: "ldap:389"
|
||||
SEMAPHORE_LDAP_SEARCH_DN: "dc=example,dc=org"
|
||||
SEMAPHORE_LDAP_BIND_DN: "cn=admin,dc=example,dc=org"
|
||||
SEMAPHORE_LDAP_BIND_PASSWORD: "admin"
|
||||
SEMAPHORE_LDAP_USERFILTER: "(&(objectClass=inetOrgPerson)(uid=%s))"
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- semaphore_data:/var/lib/semaphore
|
||||
depends_on:
|
||||
- ldap
|
||||
|
||||
volumes:
|
||||
ldap_data:
|
||||
ldap_config:
|
||||
semaphore_data:
|
Loading…
Reference in New Issue
Block a user