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}'
@@ -161,9 +161,9 @@ services:
161161 - " docker-volume-backup.stop-during-backup=true"
162162 command : >
163163 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
164- && printf 'AuthType Digest\nAuthName \"phpmyadmin\"\nAuthDigestProvider file\nAuthUserFile ${PMA_CONF_FOLDER}/.htpasswd\nRequire valid-user\n' > ${WEBSERVER_DOC_ROOT}/.htaccess && a2enmod auth_digest;
164+ && printf 'AuthType Digest\\ nAuthName \"phpmyadmin\"\\ nAuthDigestProvider file\\ nAuthUserFile ${PMA_CONF_FOLDER}/.htpasswd\\ nRequire valid-user\ \n' > ${WEBSERVER_DOC_ROOT}/.htaccess && a2enmod auth_digest;
165165 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;
166- 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;
166+ 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;
167167 a2enmod ssl && a2ensite default-ssl && a2dissite 000-default && /docker-entrypoint.sh 'apache2-foreground'"
168168
169169 database :
@@ -259,7 +259,6 @@ volumes:
259259 dtredis :
260260 name : redis-data
261261 certbot-etc :
262- external :
263- name : certbot-etc
262+ external : true
264263 certbot-var :
265264 name : certbot-var
You can’t perform that action at this time.
0 commit comments