Skip to content

Commit 249419e

Browse files
committed
Update Caddyfile
1 parent a8a8881 commit 249419e

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

docker/Caddyfile

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,15 @@
22
admin 0.0.0.0:2019
33
metrics
44

5-
frankenphp {
6-
num_threads 10
7-
max_threads auto # Dynamic scaling based on load
8-
worker {
9-
file ./public/index.php
10-
num 8 # Starting workers
11-
}
5+
frankenphp {
6+
worker {
7+
file ./public/index.php
8+
watch
9+
num 1 # change number of worker
10+
}
1211

13-
# Memory-based scaling configuration
14-
php_ini memory_limit 512M
15-
}
12+
php_ini memory_limit 512M
13+
}
1614
}
1715

1816
{$SERVER_NAME:localhost} {

0 commit comments

Comments
 (0)