Skip to content

Commit 5148f9e

Browse files
committed
fix: remove all redis references
1 parent 9feba56 commit 5148f9e

2 files changed

Lines changed: 0 additions & 9 deletions

File tree

Dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
FROM wordpress:6.7-fpm
22

3-
RUN set -ex; \
4-
pecl install redis \
5-
&& echo "extenstion=redis.so" > /usr/local/etc/php/conf.d/redis.ini \
6-
&& docker-php-ext-enable redis
7-
83
RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \
94
&& chmod +x wp-cli.phar \
105
&& mv wp-cli.phar /usr/local/bin/wp \

docker-entrypoint.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,6 @@ EOPHP
234234
set_config 'WP_DEBUG' 1 boolean
235235
fi
236236

237-
if ! grep -q "WP_REDIS_HOST" wp-config.php; then
238-
sed -ri "/\*.*stop editing.*/i define('WP_REDIS_HOST', '${REDIS_HOST-}');\ndefine('WP_REDIS_PORT', '6379');\ndefine('WP_REDIS_TIMEOUT', '1');\ndefine('WP_REDIS_READ_TIMEOUT', '1');" wp-config.php
239-
fi
240-
241237
if ! TERM=dumb php -- <<'EOPHP'
242238
<?php
243239
// database might not exist, so let's try creating it (just to be safe)

0 commit comments

Comments
 (0)