From bfb0b1781124591c94e266a8da639ff8c3eb4bf9 Mon Sep 17 00:00:00 2001 From: Robin Chalas Date: Thu, 3 Nov 2022 08:33:34 +0100 Subject: [PATCH] feat: rename `DEBUG` env var to `CADDY_DEBUG` (#79) --- caddy/frankenphp/Caddyfile | 2 +- docs/config.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/caddy/frankenphp/Caddyfile b/caddy/frankenphp/Caddyfile index 43ed21b..62c9b17 100644 --- a/caddy/frankenphp/Caddyfile +++ b/caddy/frankenphp/Caddyfile @@ -1,6 +1,6 @@ { # Debug - {$DEBUG} + {$CADDY_DEBUG} frankenphp { #worker /path/to/your/worker.php diff --git a/docs/config.md b/docs/config.md index ba46b52..4c9af68 100644 --- a/docs/config.md +++ b/docs/config.md @@ -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 ```