mirror of
https://github.com/dunglas/frankenphp.git
synced 2025-12-24 13:38:11 +08:00
656 B
656 B
Configuration
FrankenPHP, Caddy as well the Mercure and Vulcain modules can be configured using the formats supported by Caddy.
In the Docker image, the Caddyfile is located at /etc/Caddyfile.
You can also configure PHP using php.ini as usual.
In the Docker image, the php.ini file is located at /usr/local/lib/php.ini.
Enable the Debug Mode
When using the Docker image, set the CADDY_DEBUG environment variable to debug to enable the debug mode:
docker run -v $PWD:/app/public \
-e CADDY_DEBUG=debug \
-p 80:80 -p 443:443 \
dunglas/frankenphp