feat: Add Redis support to all frameworks and comprehensive setup documentation
This commit is contained in:
+8
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user