mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-19 08:50:29 +00:00
Update docker-compose.yml to use redis-stack instead of redis:alpine
This is the easiest way to set up the `timeseries` module during development
This commit is contained in:
@@ -50,15 +50,21 @@ services:
|
|||||||
- .:/usr/src/app
|
- .:/usr/src/app
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:alpine
|
image: redis/redis-stack:7.2.0-v17
|
||||||
|
container_name: redis-timeseries
|
||||||
ports:
|
ports:
|
||||||
- "6379:6379"
|
- "6379:6379"
|
||||||
volumes:
|
volumes:
|
||||||
- ./redis.conf:/usr/local/etc/redis/redis.conf
|
- redis_data:/data
|
||||||
command: redis-server /usr/local/etc/redis/redis.conf
|
- ./redis-stack.conf:/redis-stack.conf
|
||||||
|
command: redis-stack-server /redis-stack.conf
|
||||||
|
|
||||||
redis-no-persistence:
|
redis-no-persistence:
|
||||||
image: redis:alpine
|
image: redis/redis-stack:7.2.0-v17
|
||||||
|
container_name: redis-timeseries-no-persistence
|
||||||
ports:
|
ports:
|
||||||
- "6379:6379"
|
- "6379:6379"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
redis_data: # Add this volume definition
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user