From af92297ca9074c327490d9f3c7659e894443bdb4 Mon Sep 17 00:00:00 2001 From: Michael Barrett Date: Tue, 7 May 2024 11:02:36 +0100 Subject: [PATCH] Added Redis via Docker (#20085) no refs Redis can be utilised for various caching purposes within Ghost. This PR adds a Redis service to the docker-compose file to allow for easier local development when Redis is required --- .github/scripts/docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/scripts/docker-compose.yml b/.github/scripts/docker-compose.yml index 1fdb8b3213..b8f14042ce 100644 --- a/.github/scripts/docker-compose.yml +++ b/.github/scripts/docker-compose.yml @@ -21,3 +21,9 @@ services: test: "mysql -uroot -proot ghost -e 'select 1'" interval: 1s retries: 120 + redis: + image: redis:7.0 + container_name: ghost-redis + ports: + - "6379:6379" + restart: always