Skip to content

Commit 44d2d04

Browse files
authored
Merge pull request redislabs-training#17 from hsteinmueller/feature/docker-compose
Add docker-compose.yml Closes redislabs-training#16.
2 parents abdaabf + 5f16ee8 commit 44d2d04

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docker-compose.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: "3.9"
2+
services:
3+
redis:
4+
container_name: redis_ru102j
5+
image: "redislabs/redistimeseries"
6+
ports:
7+
- "6379:6379"
8+
volumes:
9+
- ./redisdata:/data
10+
entrypoint:
11+
redis-server
12+
--loadmodule /usr/lib/redis/modules/redistimeseries.so
13+
--appendonly yes
14+
deploy:
15+
replicas: 1
16+
restart_policy:
17+
condition: on-failure

0 commit comments

Comments
 (0)