File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ services:
2929 test : ["CMD-SHELL", "curl -fk https://${DOMAIN_NAME} || exit 1"]
3030 interval : 10s
3131 timeout : 5s
32- retries : 5
32+ retries : 6
3333 start_period : 60s
3434 environment :
3535 TZ : ' ${LOCAL_TIMEZONE}'
@@ -141,9 +141,9 @@ services:
141141 - " docker-volume-backup.stop-during-backup=true"
142142 command : >
143143 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
144- && printf 'AuthType Digest\nAuthName \"phpmyadmin\"\nAuthDigestProvider file\nAuthUserFile ${PMA_CONF_FOLDER}/.htpasswd\nRequire valid-user\n' > ${WEBSERVER_DOC_ROOT}/.htaccess && a2enmod auth_digest;
144+ && printf 'AuthType Digest\\ nAuthName \"phpmyadmin\"\\ nAuthDigestProvider file\\ nAuthUserFile ${PMA_CONF_FOLDER}/.htpasswd\\ nRequire valid-user\ \n' > ${WEBSERVER_DOC_ROOT}/.htaccess && a2enmod auth_digest;
145145 mkdir -p ${WEBSERVER_DOC_ROOT}/../upload && chown www-data:www-data ${WEBSERVER_DOC_ROOT}/../upload && chmod a+w ${WEBSERVER_DOC_ROOT}/../upload; mkdir -p ${WEBSERVER_DOC_ROOT}/../save && chown www-data:www-data ${WEBSERVER_DOC_ROOT}/../save && chmod a+w ${WEBSERVER_DOC_ROOT}/../save;
146- grep -qxF 'ServerName 127.0.0.1' ${APACHE_CONFDIR_PREFIX}/apache2.conf || echo -e '\nServerName 127.0.0.1' >> ${APACHE_CONFDIR_PREFIX}/apache2.conf; 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;
146+ grep -qxF 'ServerName 127.0.0.1' ${APACHE_CONFDIR_PREFIX}/apache2.conf || echo -e '\\ nServerName 127.0.0.1' >> ${APACHE_CONFDIR_PREFIX}/apache2.conf; 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;
147147 a2enmod ssl && a2ensite default-ssl && a2dissite 000-default && /docker-entrypoint.sh 'apache2-foreground'"
148148
149149 database :
@@ -239,7 +239,6 @@ volumes:
239239 dtredis :
240240 name : redis-data
241241 certbot-etc :
242- external :
243- name : certbot-etc
242+ external : true
244243 certbot-var :
245244 name : certbot-var
You can’t perform that action at this time.
0 commit comments