Skip to content

Greite/wordpress-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordPress + Redis

Docker image based on the official wordpress:latest with the phpredis extension pre-installed.

Multi-platform: linux/amd64 and linux/arm64.

Pull

docker pull ghcr.io/greite/wordpress-redis:latest

Tags

Tag Description
latest Most recent build
YYYYMMDD Date-based immutable tag
wp-X.Y.Z WordPress version
<sha> Git commit SHA

Usage with Docker Compose

services:
  wordpress:
    image: ghcr.io/greite/wordpress-redis:latest
    ports:
      - "8080:80"
    environment:
      WORDPRESS_DB_HOST: db
      WORDPRESS_DB_USER: wordpress
      WORDPRESS_DB_PASSWORD: wordpress
      WORDPRESS_DB_NAME: wordpress
    depends_on:
      - db
      - redis

  db:
    image: mariadb:latest
    environment:
      MYSQL_DATABASE: wordpress
      MYSQL_USER: wordpress
      MYSQL_PASSWORD: wordpress
      MYSQL_ROOT_PASSWORD: root

  redis:
    image: redis:alpine

The phpredis extension is installed and enabled. To use Redis as an object cache in WordPress, install a plugin like Redis Object Cache.

Automatic updates

A GitHub Actions workflow runs every 6 hours and rebuilds the image whenever the upstream wordpress:latest digest changes.

About

WordPress Docker image with phpredis extension, auto-updated from upstream

Resources

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors