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
This commit is contained in:
Michael Barrett 2024-05-07 11:02:36 +01:00 committed by GitHub
parent dccb4ac84e
commit af92297ca9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -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