How to Install Docker
Follow the instructions here: https://docs.docker.com/get-docker/
- Contact SMILE development team to acquire current SMILE credentials Chen Wang
- Alternatively, you can set up your own set of credentials by configuring the below shell script.
- You need to place your host IP address to HOST_IP variable.
The HOME variable will be the location to hold persistent data, such as user information, social media and analytics output, tags and etc.
How to run
All images have been pushed to Docker Hub. All you need is the YAML configuration file to run.
You must Download
compose yaml file here:
run the prewritten shell script:
export all environment variables and then
docker-compose -f docker-compose-smile.yml up
Then you should be able to access SMILE at http://<your IP address>:8001
docker-compose -f docker-compose-smile.yml down -v
docker-compose -f docker-compose-smile.yml pull
SMILE and BAE images on Docker Hub
Docker vs Hubzero Tool mode
export DOCKERIZED=true → Dockerized version
export DOCKERIZED=false → Hubzero Tool version, can be run by command npm start
Increase Memory and CPU allocation for Docker
Some of the analysis algorithms are very memory intensive. Make sure you adjust memory and CPU for Docker to achieve the optimal performance. Make sure you set values smaller than your host machine.