mirror of
https://github.com/dominikhoebert/docker-projects.git
synced 2025-10-11 00:56:17 +00:00
added redis
This commit is contained in:
26
redis/compose.yml
Normal file
26
redis/compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
# https://redis.io/
|
||||
|
||||
# fast, open source, in-memory data structure store that can also be used as a document or vector database
|
||||
|
||||
name: redis
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: docker.io/library/redis:7.2.5
|
||||
container_name: redis
|
||||
command: --save 60 1 --loglevel warning
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "redis-cli ping | grep PONG" ]
|
||||
start_period: 20s
|
||||
interval: 30s
|
||||
retries: 5
|
||||
timeout: 3s
|
||||
ports:
|
||||
- 6379:6379
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
Reference in New Issue
Block a user