Skip to content

Commit 1aab37e

Browse files
author
Julien Ruaux
committed
build(demo): Preload demo data set
1 parent c0e9142 commit 1aab37e

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docker-compose.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ services:
99
- "6379:6379"
1010
restart: always
1111

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
23+
1224
trino:
1325
image: fieldengineering/redis-sql-trino:early-access
1426
hostname: trino
@@ -19,4 +31,4 @@ services:
1931
- redis
2032
environment:
2133
REDISEARCH_URI: 'redis://redis:6379'
22-
REDISEARCH_CASE_INSENSITIVE_NAMES: 'true'
34+
REDISEARCH_CASE_INSENSITIVE_NAMES: 'true'

0 commit comments

Comments
 (0)