@@ -35,7 +35,7 @@ services:
3535 TZ : ' ${LOCAL_TIMEZONE}'
3636 labels :
3737 - ' docker-volume-backup.stop-during-backup=true'
38- command : bash -c "pecl install -o -f redis && rm -rf /tmp/pear && docker-php-ext-enable redis; 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; docker-entrypoint.sh 'php-fpm'"
38+ command : bash -c "if pecl install -p -- redis; then pecl install - o -f redis && rm -rf /tmp/pear && docker-php-ext-enable redis; fi ; 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; docker-entrypoint.sh 'php-fpm'"
3939
4040 webserver :
4141 depends_on :
@@ -66,15 +66,13 @@ services:
6666 ports :
6767 - ' 80:80'
6868 - ' 443:443'
69- - ' 81:81 '
69+ - ' 90:90 '
7070 links :
7171 - wordpress
7272 environment :
7373 NGINX_HOST : ${DOMAIN_NAME}
7474 NGINX_PORT : 80
7575 TZ : ' ${LOCAL_TIMEZONE}'
76- labels :
77- - " docker-volume-backup.stop-during-backup=true"
7876 command : bash -c "/docker-entrypoint.sh nginx -v; sh /tmp/ssl-conf.sh '${DOMAIN_NAME}' '${LETSENCRYPT_CONF_PREFIX}' '${NGINX_PREFIX}'"
7977
8078 certbot :
@@ -134,8 +132,6 @@ services:
134132 UPLOAD_LIMIT : ' ${PMA_UPLOAD_LIMIT}'
135133 MEMORY_LIMIT : ' ${PMA_MEMORY_LIMIT}'
136134 TZ : ' ${LOCAL_TIMEZONE}'
137- labels :
138- - " docker-volume-backup.stop-during-backup=true"
139135 command : >
140136 bash -c "echo ${PMA_HTPASSWD_USERNAME}:phpmyadmin:$$( printf \"%s:%s:%s\" \"${PMA_HTPASSWD_USERNAME}\" \"phpmyadmin\" \"${PMA_HTPASSWD_PASSWORD}\" | md5sum | awk '{print $$1}' ) > ${PMA_CONF_FOLDER}/.htpasswd
141137 && printf 'AuthType Digest\\nAuthName \"phpmyadmin\"\\nAuthDigestProvider file\\nAuthUserFile ${PMA_CONF_FOLDER}/.htpasswd\\nRequire valid-user\\n' > ${WEBSERVER_DOC_ROOT}/.htaccess && a2enmod auth_digest;
@@ -188,8 +184,6 @@ services:
188184 environment :
189185 ALLOW_EMPTY_PASSWORD : ' yes'
190186 TZ : ' ${LOCAL_TIMEZONE}'
191- labels :
192- - " docker-volume-backup.stop-during-backup=true"
193187 command : " redis-server ${REDIS_CONF_PREFIX}/redis/redis.conf"
194188
195189 varnish :
@@ -210,8 +204,6 @@ services:
210204 environment :
211205 VARNISH_SIZE : ' ${VARNISH_SIZE}'
212206 TZ : ' ${LOCAL_TIMEZONE}'
213- labels :
214- - " docker-volume-backup.stop-during-backup=true"
215207 command : " -a http=:8080,HTTP -p default_ttl=3600"
216208
217209 backup :
0 commit comments