@@ -39,7 +39,7 @@ services:
3939 - ' docker-volume-backup.stop-during-backup=true'
4040 command : >
4141 bash -c "apt-get update && sh /tmp/packagecheck.sh 'zip unzip' && curl -sSL https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - | sh -s intl pdo_mysql && curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/local/bin/composer &&
42- if [ \"$$(ls -A ${WEBSERVER_DOC_ROOT}/public)\" ]; then composer update --working-dir=${WEBSERVER_DOC_ROOT}; else rm -f ${WEBSERVER_DOC_ROOT}/README.md && composer create-project -sdev laminas/laminas-mvc-skeleton . --working-dir=${WEBSERVER_DOC_ROOT} && composer require laminas/laminas-db:* laminas/laminas-cache:* --working-dir=${WEBSERVER_DOC_ROOT} --no-interaction; fi;
42+ if [ \"$$(ls -A ${WEBSERVER_DOC_ROOT}/public)\" ]; then composer update --working-dir=${WEBSERVER_DOC_ROOT}; else rm -f ${WEBSERVER_DOC_ROOT}/README.md && composer create-project -s stable laminas/laminas-mvc-skeleton . --working-dir=${WEBSERVER_DOC_ROOT} --no-interaction && composer require laminas/laminas-db laminas/laminas-cache --working-dir=${WEBSERVER_DOC_ROOT} --no-interaction; fi;
4343 grep -qe 'date.timezone = ${LOCAL_TIMEZONE}' ${PHP_INI_DIR_PREFIX}/php/conf.d/security.ini || echo 'date.timezone = ${LOCAL_TIMEZONE}' >> ${PHP_INI_DIR_PREFIX}/php/conf.d/security.ini; php-fpm"
4444
4545 webserver :
@@ -49,7 +49,7 @@ services:
4949 image : httpd:latest
5050 container_name : webserver
5151 networks :
52- - backend
52+ - backend
5353 volumes :
5454 - ' html:${WEBSERVER_DOC_ROOT}'
5555 - type : bind
@@ -76,7 +76,7 @@ services:
7676 - ' certbot-etc:${LETSENCRYPT_CONF_PREFIX}'
7777 - ' certbot-var:/var/lib/letsencrypt'
7878 - ' /tmp/acme-challenge:/tmp/acme-challenge'
79- restart : unless-stopped
79+ restart : unless-stopped
8080 healthcheck :
8181 test : ["CMD-SHELL", "test -d ${LETSENCRYPT_CONF_PREFIX}/live/${DOMAIN_NAME} || exit 1"]
8282 interval : 5s
@@ -226,7 +226,7 @@ services:
226226 ALLOW_EMPTY_PASSWORD : ' yes'
227227 TZ : ' ${LOCAL_TIMEZONE}'
228228 command : " redis-server ${REDIS_CONF_PREFIX}/redis/redis.conf"
229-
229+
230230 backup :
231231 image : offen/docker-volume-backup:latest
232232 container_name : backup
0 commit comments