feat: Add Redis support to all frameworks and comprehensive setup documentation

This commit is contained in:
Mohamed Youssef
2026-05-01 18:32:35 +03:00
parent 526364861f
commit 513f0ff4f9
3 changed files with 184 additions and 5 deletions
+8 -4
View File
@@ -40,7 +40,8 @@ RUN apt-get update \
FROM node AS symfony
RUN install-php-extensions \
apcu \
sodium
sodium \
redis
# -------------------------
# Laravel profile
@@ -56,7 +57,8 @@ FROM base AS wordpress
RUN install-php-extensions \
mysqli \
exif \
imagick
imagick \
redis
# -------------------------
# Magento 2 profile
@@ -67,14 +69,16 @@ RUN install-php-extensions \
xsl \
soap \
bcmath \
sodium
sodium \
redis
# -------------------------
# OpenCart profile
# -------------------------
FROM base AS opencart
RUN install-php-extensions \
mysqli
mysqli \
redis
# Fix permissions for storage & cache (FrankenPHP runs as UID 65534 = nobody)
RUN if [ -d /app/storage ]; then chown -R 65534:65534 /app/storage /app/bootstrap/cache; fi