File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ services:
3838 command : >
3939 bash -c "apt-get -y update && apt-get install -y zip unzip libicu-dev && docker-php-ext-install pdo_mysql intl && pecl install -o -f redis && rm -rf /tmp/pear && docker-php-ext-enable redis pdo_mysql intl && curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/local/bin/composer
4040 && if [ -f \"/app/basic/config/app_local.php\" ]; then composer update --prefer-dist cakephp/cakephp:~4.0 --working-dir=/app/basic --no-interaction --ignore-platform-req=ext-intl; else composer create-project --prefer-dist cakephp/app:~4.0 basic --working-dir=/app --no-interaction --ignore-platform-req=ext-intl; fi
41- && sed -e \"s/DB_USER/${DB_USER}/;s/DB_PASSWORD/${DB_PASSWORD}/;s/DB_NAME/${DB_NAME}/;s/__SALT__/$$(tr -dc 'A-Za-z0-9!#$$%&()*+,-./:;<=>?@[\]^_`{|}~ ' </dev/urandom | head -c 32 ; echo )/\" ${WEBSERVER_DOC_ROOT}/app_local.php > /app/basic/config/app_local.php;
41+ && sed \"s/DB_USER/${DB_USER}/;s/DB_PASSWORD/${DB_PASSWORD}/;s/DB_NAME/${DB_NAME}/;s/__SALT__/$$(tr -dc '[:alnum:] ' </dev/urandom | head -c 32)/\" ${WEBSERVER_DOC_ROOT}/app_local.php > /app/basic/config/app_local.php;
4242 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"
4343
4444 webserver :
@@ -52,13 +52,13 @@ services:
5252 volumes :
5353 - ' html:${WEBSERVER_DOC_ROOT}'
5454 - type : bind
55- source : ./nginx /nginx.conf
55+ source : ./webserver /nginx.conf
5656 target : ' ${NGINX_PREFIX}/nginx.conf'
5757 - type : bind
58- source : ./nginx /templates/nginx.conf.template
58+ source : ./webserver /templates/nginx.conf.template
5959 target : ' ${NGINX_PREFIX}/templates/default.conf.template'
6060 - type : bind
61- source : ./nginx /ssl-option/options-ssl-nginx.conf
61+ source : ./webserver /ssl-option/options-ssl-nginx.conf
6262 target : ' ${LETSENCRYPT_CONF_PREFIX}/options-ssl-nginx.conf'
6363 - type : bind
6464 source : ./ssl-conf.sh
You can’t perform that action at this time.
0 commit comments