Add restart policy to OpenLDAP containers
This commit is contained in:
parent
ed9c742aed
commit
a8287a712b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue