Skip to content

Commit fb03846

Browse files
committed
Update docker-compose.yml
1 parent 1f90b3e commit fb03846

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ services:
2828
test: ["CMD-SHELL", "curl -fk https://${DOMAIN_NAME} || exit 1"]
2929
interval: 10s
3030
timeout: 5s
31-
retries: 4
32-
start_period: 30s
31+
retries: 3
32+
start_period: 60s
3333
environment:
3434
TZ: '${LOCAL_TIMEZONE}'
3535
labels:
3636
- 'docker-volume-backup.stop-during-backup=true'
3737
command: >
38-
bash -c "apt-get -y update && apt-get install -y zip unzip && docker-php-ext-install pdo_mysql && pecl install -o -f redis && rm -rf /tmp/pear && docker-php-ext-enable redis pdo_mysql; curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/local/bin/composer &&
38+
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 &&
3939
if [ -f \"${WEBSERVER_DOC_ROOT}/webapp/.env\" ]; then composer update --working-dir=${WEBSERVER_DOC_ROOT}/webapp; else composer create-project laravel/laravel webapp && chmod -R 777 ${WEBSERVER_DOC_ROOT}/webapp/storage/framework ${WEBSERVER_DOC_ROOT}/webapp/storage/logs; fi;
4040
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"
4141

0 commit comments

Comments
 (0)