-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
58 lines (53 loc) · 1.09 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: "3.8" # optional since v1.27.0
services:
frontend:
image: "matthewtyleraylward/codingkittens:ck-ui"
ports:
- 3000:3000
environment:
- CHOKIDAR_USEPOLLING=true
backend:
image: "matthewtyleraylward/codingkittens:ck-be"
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- REDIS_STORE_DB_INDEX=0
env_file:
- backend.env
volumes:
- ./data:/data
depends_on:
- redis
ports:
- "8000:8000"
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