git clone git@github.com:hackzilla/elastic-demo.gitcomposer install -o docker-compose build
docker-compose up -d
http://127.0.0.1:8888/app.php/dashboard
http://127.0.0.1:8888/app.php/html/
http://127.0.0.1:8888/app.php/api/
http://127.0.0.1:8888/app_dev.php/_profiler/phpinfo
http://127.0.0.1:9200/tracking/_mapping?pretty
http://127.0.0.1:9200/_ingest/pipeline/user_agent?pretty
http://127.0.0.1:9200/tracking/impression/1?pretty
docker-compose down
- Use web sockets, instead of polling.
- One request to update all widgets
You will need to modify your docker enviroment to increase vm.max_map_count otherwise Elastic will refuse to start.
https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html
composer install --no-interaction --working-dir=./code;
docker-compose build;
docker-compose up -d;
./code/bin/console app:generate:impressions