Add restart policy to OpenLDAP containers #96

Merged
graffen merged 1 commit from openldap-restartpolicy into master 2022-07-22 18:03:02 +00:00

View file

@ -20,6 +20,7 @@
image: osixia/openldap:1.5.0 image: osixia/openldap:1.5.0
tty: true tty: true
interactive: true interactive: true
restart_policy: unless-stopped
volumes: volumes:
- "{{ ldap.volume_folder }}/var/lib/ldap:/var/lib/ldap" - "{{ ldap.volume_folder }}/var/lib/ldap:/var/lib/ldap"
- "{{ ldap.volume_folder }}/etc/slapd.d:/etc/ldap/slapd.d" - "{{ ldap.volume_folder }}/etc/slapd.d:/etc/ldap/slapd.d"
@ -58,6 +59,7 @@
docker_container: docker_container:
name: phpldapadmin name: phpldapadmin
image: osixia/phpldapadmin:0.9.0 image: osixia/phpldapadmin:0.9.0
restart_policy: unless-stopped
networks: networks:
- name: external_services - name: external_services
- name: ldap - name: ldap