-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (47 loc) · 894 Bytes
/
docker-compose.yml
File metadata and controls
52 lines (47 loc) · 894 Bytes
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: "3.8"
services:
redis:
image: "redislabs/redismod:edge"
entrypoint:
[
"redis-server",
"--appendonly",
"yes",
"--loadmodule",
"/usr/lib/redis/modules/rejson.so",
"--loadmodule",
"/usr/lib/redis/modules/redisearch.so"
]
restart: always
ports:
- "6380:6379"
volumes:
- ./data:/data
oss_redis:
image: "redis:latest"
restart: always
ports:
- "6381:6379"
depends_on:
- redis
redisinsight:
image: "redislabs/redisinsight:latest"
restart: always
ports:
- "8001:8001"
depends_on:
- redis
api:
build: .
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- REDIS_STORE_DB_INDEX=0
env_file:
- .env
volumes:
- ./data:/data
depends_on:
- redis
ports:
- "8000:8000"