# pecl will claim success even if one install fails, so we need to perform each install separately
RUN pecl install apcu-${apcu_version}; \
pecl install memcached-${memcached_version}; \
-# pecl install redis-${redis_version}; \
-# pecl install imagick-${imagick_version}; \
+ pecl install redis-${redis_version}; \
+ pecl install imagick-${imagick_version}; \
docker-php-ext-enable \
apcu \
- memcached
-# redis \
-# imagick
+ memcached \
+ redis \
+ imagick
RUN apt-get clean -y && rm -rf /var/lib/apt/lists/*
# Runs app on the same network as the app container, allows "forwardPorts" in devcontainer.json function.
network_mode: service:app
-
+
+ redis:
+ image: redis:latest
+ restart: unless-stopped
+ env_file: ".env"
+ network_mode: service:app
+
volumes:
mariadb-data: