File tree Expand file tree Collapse file tree 3 files changed +462
-3
lines changed Expand file tree Collapse file tree 3 files changed +462
-3
lines changed Original file line number Diff line number Diff line change 66 worker {
77 file ./public/index.php
88 watch
9+
910 num 1 # change number of worker
11+
12+ ## Uncomment for incorrect config
13+ # num_threads 16
14+ # max_threads 8
15+
16+ ## Uncomment for correct config
17+ # num_threads 16
18+ # max_threads 32
1019 }
1120
1221 php_ini memory_limit 512M
1524
1625{$SERVER_NAME:localhost } {
1726 root {$SERVER_ROOT:public/}
18- encode zstd br gzip
19-
27+ encode zstd br gzip
2028
2129 {$CADDY_SERVER_EXTRA_DIRECTIVES}
2230
Original file line number Diff line number Diff line change 1- FROM dunglas/frankenphp
1+ FROM dunglas/frankenphp:php8.4-bookworm
22
33WORKDIR /var/www/html
44
@@ -8,6 +8,8 @@ RUN install-php-extensions \
88 zip \
99 opcache
1010
11+ RUN apt update -y && apt install -y jq
12+
1113COPY --chown=www-data:www-data . .
1214COPY ./docker/symfony.prod.ini /usr/local/etc/php/conf.d/symfony.prod.ini
1315COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
You can’t perform that action at this time.
0 commit comments