# {{ ansible_managed }} version: '3.1' services: openldap: image: osixia/openldap:{{ docker_openldap_version }} environment: - LDAP_ORGANISATION={{ docker_openldap_organization }} - LDAP_DOMAIN={{ docker_openldap_rootdn }} - LDAP_ADMIN_PASSWORD={{ docker_openldap_admin_password }} - LDAP_TLS=false - LDAP_RFC2307BIS_SCHEMA=true restart: always volumes: - {{ docker_openldap_data_dir }}/{{ docker_openldap_service_id }}/ldap:/var/lib/ldap - {{ docker_openldap_data_dir }}/{{ docker_openldap_service_id }}/slapd.d:/etc/ldap/slapd.d - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro ports: - {{ docker_openldap_port }}:389