Skip to content

Commit 7573fa5

Browse files
committed
patch(frankenphp): #2 Update franken to latest
1 parent 2b4b449 commit 7573fa5

File tree

3 files changed

+462
-3
lines changed

3 files changed

+462
-3
lines changed

docker/Caddyfile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,16 @@
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
@@ -15,8 +24,7 @@
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

docker/Dockerfile.franken

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM dunglas/frankenphp
1+
FROM dunglas/frankenphp:php8.4-bookworm
22

33
WORKDIR /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+
1113
COPY --chown=www-data:www-data . .
1214
COPY ./docker/symfony.prod.ini /usr/local/etc/php/conf.d/symfony.prod.ini
1315
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer

0 commit comments

Comments
 (0)