-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (37 loc) · 980 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
36
37
38
39
40
version: '3'
services:
kuzzle:
image: kuzzleio/plugin-dev:latest
command: /run-dev.sh
volumes:
- "./docker/run-dev.sh:/run-dev.sh"
- "./docker/install-plugins.sh:/install-plugins.sh"
- "./docker/pm2.json:/config/pm2.json"
- "./:/var/app/plugins/enabled/app-plugin"
cap_add:
- SYS_PTRACE
ulimits:
nofile: 65536
sysctls:
- net.core.somaxconn=8192
depends_on:
- redis
- elasticsearch
ports:
- "9229:9229"
- "7512:7512"
environment:
- kuzzle_services__db__client__host=http://elasticsearch:9200
- kuzzle_services__internalCache__node__host=redis
- kuzzle_services__memoryStorage__node__host=redis
- NODE_ENV=development
- DEBUG=kuzzle:plugins
redis:
image: redis:5
elasticsearch:
image: kuzzleio/elasticsearch:5.6.10
ulimits:
nofile: 65536
environment:
- cluster.name=kuzzle
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"