It is complete environment for build and run projects:
Change KAFKA_ADVERTISED_HOST_NAME in docker-compose.yml to your docker host ip.
To check that:
- Windows/Mac:
docker-machine ip - Linux:
ifconfig -a
Run sudo docker-compose up -d for complete instalation and start services
Run sudo docker-compose build --no-cache for complete rebuild containers
You can run single service by passing its name as parameter ex.
sudo docker-compose build --no-cache streaming
To access running container shell run sudo docker ps to find container id, then sudo docker exec -it *container_id* bash
To access services add these lines to /etc/hosts:
127.0.0.1 app.smartstorm.io
127.0.0.1 smartstorm.io
Use equivalent solution in your system, remember to change 127.0.0.1 to docker host ip address
To enable it on Google Cloud:
- Create Kubernetes Cluster in Google Cloud Console
- Activate cloud shell (right top corner)
- Git clone this repository
- Activate each component in kuberenetes folder using:
kubectl create -f <file_name>.yaml
Modified images of smartstorm deployment can be found on DockerHub