Back to Apps
OpenLDAP + phpLDAPadmin

Deploy OpenLDAP + phpLDAPadmin on Your Own Server

OpenLDAP with administration interface

πŸ“¦ Other

Want to deploy OpenLDAP + phpLDAPadmin on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.

Get Started

What is OpenLDAP + phpLDAPadmin?

OpenLDAP Software is an open source implementation of the Lightweight Directory Access Protocol.

Learn more

Self-Host OpenLDAP + phpLDAPadmin

Follow these steps to deploy on your own server.

1

Install Docker

Skip this step if Docker is already installed on your server.

curl -fsSL https://get.docker.com | sh
2

Configure

Customize the settings below. Defaults work for most cases.

General
3

Deploy

Copy the configuration and run it on your server.

services:
  phpldapadmin:
    image: osixia/openldap:1.4.0
    environment:
      LDAP_ADMIN_PASSWORD: ${openldap_ldap}-admin-password
      LDAP_DOMAIN: your-domain.com
      LDAP_ORGANISATION: ${openldap_ldap}-organisation
    volumes:
      - phpldapadmin-db:/var/lib/ldap
      - phpldapadmin-config:/etc/ldap/slapd.d
  phpldapadmin-admin:
    image: osixia/phpldapadmin:0.9.0
    environment:
      PHPLDAPADMIN_HTTPS: "false"
      PHPLDAPADMIN_LDAP_HOSTS: phpldapadmin
      PHPLDAPADMIN_SERVER_ADMIN: ${phpldapadmin_admin}-email
      PHPLDAPADMIN_SERVER_PATH: https://phpldapadmin-admin.your-domain.com
      PHPLDAPADMIN_TRUST_PROXY_SSL: "true"
    depends_on:
      - phpldapadmin
volumes:
  phpldapadmin-db: {}
  phpldapadmin-config: {}

Then run:

docker compose up -d
4

Access

Once started, access your app at http://localhost:80

Why Self-Host OpenLDAP + phpLDAPadmin?

Full Data Ownership

Your data stays on your servers. No third-party access.

No Monthly Fees

Pay only for your server. No per-seat or usage charges.

Complete Control

Customize, backup, and scale on your own terms.

Privacy & Compliance

Meet GDPR, HIPAA, or internal security requirements.

Technical Details

Docker Image

osixia/openldap:${openldap_version}

Official Docs

github.com

Want to go faster?

Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.

Install on any Linux server:

sh -c "$(curl -sSL https://get.senate.sh)"