From 7ed607c981a5d63bbe759a604f40e49b533ad61f Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Mon, 28 Apr 2025 21:51:40 +0700 Subject: [PATCH] docker set LOG_FILE=/dev/stdout --- .docker/php/entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.docker/php/entrypoint.sh b/.docker/php/entrypoint.sh index ff327ddb..601e0348 100644 --- a/.docker/php/entrypoint.sh +++ b/.docker/php/entrypoint.sh @@ -40,6 +40,7 @@ if [ "$SERVICE_NAME" = "php" ]; then if [ ! -f "$ENV_FILE" ]; then echo_info ".env file: $ENV_FILE not exists, copy $SOURCE_DIR to $TARGET_DIR ..." cp -r "$SOURCE_DIR" "$TARGET_DIR" + sed -i 's|LOG_FILE.*|LOG_FILE=/dev/stdout|g' "$ROOT_PATH/.env.example" else echo_success ".env file: $ENV_FILE already exists, skip copy install file ..." fi