ajout restartPolicy

This commit is contained in:
Fanch 2025-01-26 15:00:30 +01:00
parent d06989c4c6
commit 0bb82bb51f
3 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,7 @@ services:
web: web:
image: ltbproject/self-service-password image: ltbproject/self-service-password
container_name: ${ldapUIName} container_name: ${ldapUIName}
restart: ${restartPolicy}
depends_on: depends_on:
- ldap - ldap
networks: networks:
@ -45,7 +46,7 @@ services:
ldap: ldap:
image: docker.io/bitnami/openldap:2.6 image: docker.io/bitnami/openldap:2.6
container_name: ${ldapServName} container_name: ${ldapServName}
restart: always restart: ${restartPolicy}
env_file: env_file:
- ../../secret/env-${ldapServName} - ../../secret/env-${ldapServName}

View File

@ -4,6 +4,7 @@ services:
image: pahekokaz image: pahekokaz
build: . build: .
container_name: ${pahekoServName} container_name: ${pahekoServName}
restart: ${restartPolicy}
volumes: volumes:
- ./config/config.local.php:/var/www/paheko/config.local.php - ./config/config.local.php:/var/www/paheko/config.local.php
- ./config/factory_cron.sh:/var/www/paheko/factory_cron.sh - ./config/factory_cron.sh:/var/www/paheko/factory_cron.sh

View File

@ -4,6 +4,7 @@ services:
hostname: ${smtpHost} hostname: ${smtpHost}
domainname: ${domain} domainname: ${domain}
container_name: ${smtpServName} container_name: ${smtpServName}
restart: ${restartPolicy}
networks: networks:
- postfixNet - postfixNet
- jirafeauNet - jirafeauNet