You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docker-compose.yml
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,18 @@ services:
9
9
- "6379:6379"
10
10
restart: always
11
11
12
+
redis-cli:
13
+
image: redis/redis-stack-server
14
+
depends_on:
15
+
- redis
16
+
command: "redis-cli -h redis FT.CREATE beers ON HASH PREFIX 1 beer: SCHEMA id TAG SORTABLE brewery_id TAG SORTABLE name TEXT SORTABLE abv NUMERIC SORTABLE descript TEXT style_name TAG SORTABLE cat_name TAG SORTABLE"
17
+
18
+
riot:
19
+
image: fieldengineering/riot
20
+
depends_on:
21
+
- redis
22
+
command: -h redis file-import https://storage.googleapis.com/jrx/beers.json hset --keyspace beer --keys id
0 commit comments