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