fix copy caddyfile dans dockerfile, maj composer json, directive watch worker frankenphp
Some checks failed
Cadoles/hydra-sql/pipeline/pr-develop There was a failure building this commit
Some checks failed
Cadoles/hydra-sql/pipeline/pr-develop There was a failure building this commit
This commit is contained in:
@@ -21,10 +21,10 @@
|
||||
opcache.preload_user www-data
|
||||
apc.enable_cli 1
|
||||
apc.enable 1
|
||||
|
||||
{$PHPINI_EXTRA_CONFIG}
|
||||
}
|
||||
{$FRANKENPHP_CONFIG}
|
||||
{$FRANKENPHP_CONFIG}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,15 +38,13 @@
|
||||
|
||||
php_server {
|
||||
try_files {path} index.php
|
||||
try_files {path} index.php
|
||||
worker {
|
||||
file /app/public/index.php
|
||||
watch
|
||||
name hydra-sql-worker
|
||||
name hydra-sql-worker
|
||||
{$FRANKENPHP_WORKER_CONFIG}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@phpFile {
|
||||
path *.php*
|
||||
@@ -59,7 +57,6 @@
|
||||
}
|
||||
log_skip @shouldSkip
|
||||
log {
|
||||
log {
|
||||
output stdout
|
||||
format {$CADDY_LOG_FORMAT:console}
|
||||
level {$CADDY_LOG_LEVEL:INFO}
|
||||
|
@@ -17,7 +17,7 @@ ENV APP_ENV=prod \
|
||||
APP_LOCALES="fr,en" \
|
||||
BASE_PATH=""
|
||||
|
||||
COPY ./misc/files/Caddyfile /etc/frankenphp/Caddyfile
|
||||
COPY ./misc/files/Caddyfile /etc/caddy/Caddyfile
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -41,5 +41,6 @@ RUN apt-get -y update \
|
||||
apcu \
|
||||
xdebug \
|
||||
redis \
|
||||
&& composer install --ignore-platform-reqs --no-cache --optimize-autoloader \
|
||||
intl \
|
||||
&& composer install --ignore-platform-reqs --no-cache \
|
||||
&& bin/console assets:install --symlink --relative
|
||||
|
Reference in New Issue
Block a user