version: "3" services: fusiondirectory: container_name: fusiondirectory image: registry.git.flifloo.fr/flifloo/fusiondirectory-docker:latest ports: - 8080:80 volumes: - "./fusiondirectory/etc:/etc/fusiondirectory" restart: always openldap: hostname: ldap.example.fr image: registry.git.flifloo.fr/flifloo/openldap-fd-docker:latest container_name: openldap environment: LDPA_ADMINPWD: example LDAP_DOMAIN: example.org LDAP_ORGANIZATION: Exemple Org ports: - 389:389 volumes: - "./openldap/data:/var/lib/ldap" - "./openldap/conf:/etc/ldap/slapd.d" restart: always