-
Notifications
You must be signed in to change notification settings - Fork 25
/
docker-compose.yml
39 lines (37 loc) · 1.01 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
services:
kuzzle:
image: kuzzleio/kuzzle:2.29.1
ports:
- "7512:7512"
depends_on:
redis:
condition: service_healthy
elasticsearch:
condition: service_healthy
environment:
- kuzzle_services__storageEngine__client__node=http://elasticsearch:9200
- kuzzle_services__storageEngine__commonMapping__dynamic=true
- kuzzle_services__internalCache__node__host=redis
- kuzzle_services__memoryStorage__node__host=redis
- DEBUG=${DEBUG:-none}
healthcheck:
test: ["CMD", "curl", "-f", "http://kuzzle:7512/_healthcheck"]
timeout: 5s
interval: 5s
retries: 30
redis:
image: redis:5
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 5s
retries: 30
elasticsearch:
image: elasticsearch:7.17.24
environment:
- discovery.type=single-node
healthcheck:
test: ["CMD", "curl", "-f", "http://elasticsearch:9200"]
interval: 5s
timeout: 5s
retries: 30