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
|
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
|
||||||
|
|
Loading…
Reference in a new issue