Created
September 4, 2020 18:33
-
-
Save paraita/33228b55501e924c1183bf0818862d51 to your computer and use it in GitHub Desktop.
Kuzzle docker-compose with dashboard (you need to compile it and put it in the data folder so nginx can serve it)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
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 | |
- NODE_ENV=production | |
redis: | |
image: redis:5 | |
elasticsearch: | |
image: kuzzleio/elasticsearch:7.4.0 | |
ulimits: | |
nofile: 65536 | |
dashboard: | |
image: nginx:alpine | |
ports: | |
- "8088:80" | |
volumes: | |
- ./data:/srv | |
- ./nginx.conf:/etc/nginx/conf.d/default.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nginx.conf: