mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-11-06 13:17:58 +00:00
30 lines
1.2 KiB
YAML
30 lines
1.2 KiB
YAML
network:
|
|
local: True # Activates local network. Necessary for LDIF import routines
|
|
docker: True # Activates docker network to allow other docker containers to connect
|
|
public: False # Set to true in inventory file if you want to expose the LDAP port to the internet
|
|
docker:
|
|
services:
|
|
openldap:
|
|
image: "bitnamilegacy/openldap"
|
|
name: "openldap"
|
|
version: "latest"
|
|
cpus: 1.25
|
|
# Optimized up to 5k user
|
|
mem_reservation: 1g
|
|
mem_limit: 1.5g
|
|
pids_limit: 1024
|
|
network: "openldap"
|
|
volumes:
|
|
data: "openldap_data"
|
|
features:
|
|
ldap: true
|
|
provisioning:
|
|
# Here it's possible to define what should be imported and updated.
|
|
# It doesn't make sense to let the import run everytime because its very time consuming
|
|
configuration: true # E.g. MemberOf and Hashed Password Configuration
|
|
credentials: true # Administrator Password
|
|
schemas: true # E.g. Nextcloud, Openssl
|
|
users: true # E.g. User, group and role entries
|
|
groups: true # Roles and Groups import
|
|
update: true # User Class updates
|