-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
53 lines (47 loc) · 1.34 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
version: "3"
services:
kuzzle:
image: kuzzleio/plugin-dev:2
command: |
bash -c '
npm i -g nodemon
if [ ! -d plugins/enabled/kuzzle-plugin-auth-passport-local/node_modules ]; then
npm ci --prefix plugins/enabled/kuzzle-plugin-auth-passport-local
fi
until curl -sf -o /dev/null $${kuzzle_services__storageEngine__client__node}; do
printf "."
sleep 1
done
echo
nodemon -w plugins/enabled/kuzzle-plugin-auth-passport-local bin/start-kuzzle-server
'
volumes:
- .:/var/app/plugins/enabled/kuzzle-plugin-auth-passport-local
cap_add:
- SYS_PTRACE
ulimits:
nofile: 65536
sysctls:
- net.core.somaxconn=8192
depends_on:
- redis
- elasticsearch
ports:
- "9229:9229"
- "7512:7512"
environment:
kuzzle_services__storageEngine__client__node: http://elasticsearch:9200
kuzzle_services__internalCache__node__host: redis
kuzzle_services__memoryStorage__node__host: redis
NODE_ENV: development
DEBUG: kuzzle-plugin-auth-passport-local
DEBUG_COLORS: "true"
redis:
image: redis:5
elasticsearch:
image: kuzzleio/elasticsearch:7.3.0
ulimits:
nofile: 65536
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node