-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (29 loc) · 786 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (29 loc) · 786 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
version: '2'
services:
kuzzle:
image: kuzzleio/kuzzle:2
ports:
- "7512:7512"
- "1883:1883"
cap_add:
- SYS_PTRACE
depends_on:
- redis
- elasticsearch
environment:
- kuzzle_services__storageEngine__client__node=http://elasticsearch:9200
- kuzzle_services__internalCache__node__host=redis
- kuzzle_services__memoryStorage__node__host=redis
- kuzzle_server__protocols__mqtt__enabled=true
- kuzzle_limits__concurrentRequests=5000
- kuzzle_limits__loginsPerSecond=50
- NODE_ENV=production
redis:
image: redis:5
elasticsearch:
image: kuzzleio/elasticsearch:7.4.0
ulimits:
nofile: 65536
environment:
- cluster.name=kuzzle
- "ES_JAVA_OPTS=-Xms1024m -Xmx1024m"