@@ -13,24 +13,24 @@ comparison and monitoring.
1313make up-franken
1414```
1515
16- Go to - https ://localhost/
16+ Go to - http ://localhost:8080 /
1717
1818# up worker mode franken
1919
2020```
2121make up-worker
2222```
2323
24- Go to - https ://localhost:444 /
24+ Go to - http ://localhost:8081 /
2525
2626## Service Configuration
2727
2828### FrankenPHP Services
2929
3030| Service | Port | Mode | Caddyfile | Purpose |
3131| -----------------------| ------| ---------| ---------------------| ------------------------------|
32- | ** FrankenPHP** | 443 | Regular | ` Caddyfile.regular ` | Traditional PHP server mode |
33- | ** FrankenPHP Worker** | 444 | Worker | ` Caddyfile ` | High-performance worker mode |
32+ | ** FrankenPHP** | 8080 | Regular | ` Caddyfile.regular ` | Traditional PHP server mode |
33+ | ** FrankenPHP Worker** | 8081 | Worker | ` Caddyfile ` | High-performance worker mode |
3434
3535### Configuration Differences
3636
@@ -135,7 +135,7 @@ Caddy configuration can be extended via environment variables in the docker-comp
135135``` yaml
136136environment :
137137 CADDY_GLOBAL_OPTIONS : " admin 0.0.0.0:2019\n metrics"
138- SERVER_NAME : " :8080 https://localhost:443 "
138+ SERVER_NAME : " :80 "
139139` ` `
140140
141141### Environment Variables Explained
@@ -156,7 +156,8 @@ Injects global Caddy directives at the top of your configuration:
156156Defines which addresses/domains Caddy will serve :
157157
158158- ` :8080` - HTTP on port 8080 (all interfaces)
159- - ` https://localhost:443` - HTTPS on localhost
159+ - ` http://localhost:8080` - HTTP on localhost (regular mode)
160+ - ` http://localhost:8081` - HTTP on localhost (worker mode)
160161- Can specify multiple : ` example.com www.example.com`
161162- Caddy auto-provisions SSL certificates for domains
162163
@@ -326,7 +327,7 @@ curl http://localhost:2019/metrics | grep frankenphp_total_workers
326327watch -n 1 'curl -s http://localhost:2019/metrics | grep frankenphp_total_workers'
327328
328329# Run load test in another terminal
329- k6 run k6/list_products.js --env BASE_URL=https ://localhost:443 /en
330+ k6 run k6/list_products.js --env BASE_URL=http ://localhost:8080 /en
330331` ` `
331332
332333# # Troubleshooting FrankenPHP
@@ -569,7 +570,7 @@ existing Makefile targets for consistent and reproducible testing.
569570
570571### Available k6 Test Commands
571572
572- #### FrankenPHP (Regular Mode - Port 443 )
573+ #### FrankenPHP (Regular Mode - Port 8080 )
573574
574575``` bash
575576# Products testing
@@ -585,7 +586,7 @@ make k6-franken-orders-db # Test orders DB endpoint
585586make k6-franken-orders-redis # Test orders Redis endpoint
586587```
587588
588- #### FrankenPHP Worker Mode (Port 444 )
589+ #### FrankenPHP Worker Mode (Port 8081 )
589590
590591``` bash
591592# Products testing
@@ -854,8 +855,8 @@ curl http://localhost:2020/metrics | grep frankenphp
854855
855856** Environment Variables Used:**
856857
857- - ` FRANKEN_URL ` : https ://localhost:443 (FrankenPHP regular mode)
858- - ` FRANKEN_WORKER_URL ` : https ://localhost:444 (FrankenPHP worker mode)
858+ - ` FRANKEN_URL ` : http ://localhost:8080 (FrankenPHP regular mode)
859+ - ` FRANKEN_WORKER_URL ` : http ://localhost:8081 (FrankenPHP worker mode)
859860- ` FPM_URL ` : http://localhost:8088 (PHP-FPM for comparison)
860861
861862** k6 Test Scripts:**
0 commit comments