From 54b237a522f503e209847f94e9d2af7a55dc44f1 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 18 May 2025 12:31:50 +0200 Subject: [PATCH] reids preparation --- docker/Dockerfile | 2 ++ docker/rootfs/start.sh | 4 ++++ rtfm/CONFIG.md | 2 ++ web/index.php | 9 ++++++++- 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index bae2f76..bbea42c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -5,6 +5,8 @@ RUN apk add --no-cache bash socat file ffmpeg RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer WORKDIR /app/public +RUN install-php-extensions redis + # Add php.ini ADD configs/php.ini /usr/local/etc/php/php.ini diff --git a/docker/rootfs/start.sh b/docker/rootfs/start.sh index cb7ee09..fdc4841 100644 --- a/docker/rootfs/start.sh +++ b/docker/rootfs/start.sh @@ -25,6 +25,7 @@ _buildConfig() { echo "connect((!defined('REDIS_SERVER'))?'localhost':REDIS_SERVER, (!defined('REDIS_PORT'))?6379:REDIS_PORT); +} //parse the URL to an array and filter it