         check_connectivity rabbitmq
     }
 
+    function runCountlyDocker () {
+        docker run -d -p $KONFIG_SERVICEHOST:5672:5672 -p $KONFIG_COUNTLY_APIPORT:80 --name=countly countly/countly-server:16.06
+        check_connectivity countly
+    }
+
     function runRedisDocker () {
         docker run -d -p $KONFIG_SERVICEHOST:6379:6379 --name=redis redis
-    }
-
-    function runImplyDocker () {
-        docker run -d -p 18081-18110:8081-8110 -p 18200:8200 -p 19095:9095 --name=imply imply/imply:1.2.1
     }
 
     function run_docker_wrapper () {

      check_connectivity postgres
      check_connectivity redis
      check_connectivity rabbitmq
    }

    mkdir $KONFIG_PROJECTROOT/.logs &>/dev/null

    SERVICES="mongo redis postgres rabbitmq"

    NGINX_CONF="$KONFIG_PROJECTROOT/nginx.conf"
    NGINX_PID="$KONFIG_PROJECTROOT/nginx.pid"

      runRabbitMQDocker
    }

    function restorecountly () {
      removeDockerByName countly
      runCountlyDocker
    }

    if [ "$#" == "0" ]; then
