mirror of
https://github.com/dunglas/frankenphp
synced 2024-10-16 17:14:59 +00:00
feat: rename DEBUG
env var to CADDY_DEBUG
(#79)
This commit is contained in:
parent
3f4ad4ee66
commit
bfb0b17811
@ -1,6 +1,6 @@
|
||||
{
|
||||
# Debug
|
||||
{$DEBUG}
|
||||
{$CADDY_DEBUG}
|
||||
|
||||
frankenphp {
|
||||
#worker /path/to/your/worker.php
|
||||
|
@ -10,11 +10,11 @@ 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 `DEBUG` environment variable to `debug` to 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 DEBUG=debug \
|
||||
-e CADDY_DEBUG=debug \
|
||||
-p 80:80 -p 443:443 \
|
||||
dunglas/frankenphp
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user