Newer
Older
# vim:ff=unix:ts=2:sw=2:ai:expandtab
domainname: "${LDAP_HOSTNAME:-ldap}.${LDAP_DOMAIN:-nowhere.com}"
LDAP_ROOTPASS: "${LDAP_ROOTPASS:-foo}"
LDAP_DOMAIN: "${LDAP_DOMAIN:-nowhere.com}"
LDAP_ORGANIZATION: "${LDAP_ORGANIZATION:-none}"
hostname: "${LDAP_HOSTNAME:-ldap}"
restart: always
volumes:
- _run_slapd:/run/slapd
- ldap:/var/lib/ldap
- backup_ldap:/var/backups/ldap
nss-pam-ldapd:
build:
context: nss-pam-ldapd/
command: /usr/sbin/nslcd --debug --nofork
environment:
LDAP_BASE_DN: "${LDAP_BASE_DN:-dc=nowhere,dc=com}"
ldap-account-manager:
build:
context: ldap-account-manager/
links:
restart: always
volumes:
- _run_slapd:/run/slapd
- ldap-account-manager:/var/lib/ldap-account-manager
ldap:
ldap-account-manager:
labels:
snapshot: 'true'
backup_ldap:
labels:
snapshot: 'true'