🚀 Setup
Install Docker and Docker Compose:
Follow the official Docker installation guide for your operating system.Create a
docker-compose.yamlfile:
Copy the contents from the example into your owndocker-compose.yaml.
or download it
sh
curl -L -o docker-compose.yaml https://raw.githubusercontent.com/dethdkn/ldap-nel/main/docker-compose.yaml
# or
wget -O docker-compose.yaml https://raw.githubusercontent.com/dethdkn/ldap-nel/main/docker-compose.yaml- Create a
.envfile:
Use the.env.exampleas a starting point and adjust the values to match your environment.\
sh
curl -L -o .env https://raw.githubusercontent.com/dethdkn/ldap-nel/main/.env.example
# or
wget -O .env https://raw.githubusercontent.com/dethdkn/ldap-nel/main/.env.example🔑 JWT_SECRET: At least 32 characters
🔐 ENCRYPTION_KEY: This must be a base64-encoded string that decodes to 32 bytes (AES-256).
✅ To generate a valid encryption key run:
bash
openssl rand -base64 32- Create the database folder:
Run the following command to create the required database volume directory (as defined indocker-compose.yaml):
bash
mkdir ./database- Pull and start the container:
bash
docker compose pull
docker compose up -d --force-recreate- (Optional) Set up a reverse proxy:
For production use, you can put the Docker app behind an Nginx reverse proxy to serve it on ports 80 or 443.
