-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
42 lines (39 loc) · 1.1 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
version: '3'
services:
kuzzle:
image: kuzzleio/plugin-dev:2
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"
- "./config:/var/app/config"
- "./config/kuzzlerc:/etc/kuzzlerc"
- ".:/var/app/plugins/enabled/kuzzle-plugin-s3"
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:plugins
- KUZZLE_VAULT_KEY=${KUZZLE_VAULT_KEY}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
redis:
image: redis:5
elasticsearch:
image: kuzzleio/elasticsearch:7
ulimits:
nofile: 65536