feat: rename DEBUG env var to CADDY_DEBUG (#79)

This commit is contained in:
Robin Chalas 2022-11-03 08:33:34 +01:00 committed by GitHub
parent 3f4ad4ee66
commit bfb0b17811
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
# Debug
{$DEBUG}
{$CADDY_DEBUG}
frankenphp {
#worker /path/to/your/worker.php

View File

@ -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
```