mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
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:
parent
dccb4ac84e
commit
af92297ca9
1 changed files with 6 additions and 0 deletions
6
.github/scripts/docker-compose.yml
vendored
6
.github/scripts/docker-compose.yml
vendored
|
@ -21,3 +21,9 @@ services:
|
||||||
test: "mysql -uroot -proot ghost -e 'select 1'"
|
test: "mysql -uroot -proot ghost -e 'select 1'"
|
||||||
interval: 1s
|
interval: 1s
|
||||||
retries: 120
|
retries: 120
|
||||||
|
redis:
|
||||||
|
image: redis:7.0
|
||||||
|
container_name: ghost-redis
|
||||||
|
ports:
|
||||||
|
- "6379:6379"
|
||||||
|
restart: always
|
||||||
|
|
Loading…
Reference in a new issue