Add restart policy to OpenLDAP containers

This commit is contained in:
Jesper Hess 2022-07-22 19:48:09 +02:00 committed by Gitea
parent ed9c742aed
commit a8287a712b

View file

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