Fix hosts in openldap

Change-Id: I7f714db002def482599766bac34a4f1897257065
diff --git a/docker/swarm/service/openldap.yml b/docker/swarm/service/openldap.yml
index 9745017..863144c 100644
--- a/docker/swarm/service/openldap.yml
+++ b/docker/swarm/service/openldap.yml
@@ -10,6 +10,11 @@
           restart:
             condition: any
           image: ${_param:docker_image_openldap}
+          hostname: ldap01.${_param:openldap_domain}
+          hosts:
+            ldap01:
+              name: ldap01.${_param:openldap_domain}
+              address: 127.0.0.1
           environment:
             HOSTNAME: ldap01.${_param:openldap_domain}
             LDAP_ORGANISATION: "${_param:openldap_organisation}"