3 steps
- Create MongoDB deployment on https://mlab.com/
export KADIRA_MONGO_URL="mongodb://....."docker-compose up
Open localhost:4000 and login with email admin@admin.gmail.com (password admin - change it immediately in the UI)
This is docker-compose.yml
version: '2'
services:
kadira-engine:
image: vladgolubev/kadira-engine
ports:
- "11011:11011"
environment:
- PORT=11011
- MONGO_URL=$KADIRA_MONGO_URL
- MONGO_SHARD_URL_one=$KADIRA_MONGO_URL
kadira-rma:
image: vladgolubev/kadira-rma
environment:
- MONGO_URL=$KADIRA_MONGO_URL
kadira-ui:
image: vladgolubev/kadira-ui
ports:
- "4000:4000"
environment:
- MONGO_URL=$KADIRA_MONGO_URL
- MONGO_SHARD_URL_one=$KADIRA_MONGO_URL
All the seed data @lampe wrote about is inserted on startup. (Thanks!)
I cleaned up kadira-ui from Stripe/Tender/Intercom/Customer.io logic. Also Alerts won’t work. But that’s the easiest way to have basic Kadira features locally.
Also DB for kadira-ui & data is the same, since it will be used for 1 single app, so no need to scale mongodb shards as Kadira did.
Feel free to leave any feedback.