-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
35 lines (31 loc) · 963 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: '3.6'
services:
redis:
image: redis/redis-stack-server:latest
hostname: redis
container_name: redis
ports:
- "6379:6379"
restart: always
redis-cli:
image: redis/redis-stack-server:latest
depends_on:
- redis
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"
riot:
image: fieldengineering/riot
depends_on:
- redis
command: -h redis file-import https://storage.googleapis.com/jrx/beers.json hset --keyspace beer --keys id
trino:
image: fieldengineering/redis-sql-trino:early-access
build: .
hostname: trino
container_name: trino
ports:
- "8080:8080"
depends_on:
- redis
environment:
REDISEARCH_URI: 'redis://redis:6379'
REDISEARCH_CASE_INSENSITIVE_NAMES: 'true'