mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +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
|
||||
|
||||
redis:
|
||||
image: redis:alpine
|
||||
image: redis/redis-stack:7.2.0-v17
|
||||
container_name: redis-timeseries
|
||||
ports:
|
||||
- "6379:6379"
|
||||
volumes:
|
||||
- ./redis.conf:/usr/local/etc/redis/redis.conf
|
||||
command: redis-server /usr/local/etc/redis/redis.conf
|
||||
- redis_data:/data
|
||||
- ./redis-stack.conf:/redis-stack.conf
|
||||
command: redis-stack-server /redis-stack.conf
|
||||
|
||||
redis-no-persistence:
|
||||
image: redis:alpine
|
||||
image: redis/redis-stack:7.2.0-v17
|
||||
container_name: redis-timeseries-no-persistence
|
||||
ports:
|
||||
- "6379:6379"
|
||||
|
||||
volumes:
|
||||
redis_data: # Add this volume definition
|
||||
|
||||
|
||||
Reference in New Issue
Block a user