This repository contains the Docker configuration files for the deployment of Scava platform
You should follow the following steps to run this setup:
- Configure the Environment variable
API_GATEWAY_VAR
under theweb-admin
service with the http://<your_hostname>:<gateway_api_public_port> - (Re)Build the docker images using:
docker-compose -f docker-compose-build.yml build --no-cache
- Run the crossminer plaftorm using:
docker-compose -f docker-compose-build.yml up
. Please notice that for this setup we are using an empty mongodb database for oss-db - Access to the administration web app by using the following address in the web browser: http://admin-webapp/
For this address to work the first step is mandatory. We need it in order for the oss-app to know the address of the admin-webapp. If instead we use something like ‘localhost’, the oss-app will also use this hostname and the information will not reach the administration webbapp.
Access the interface using http://admin-webapp:80
For login use user: admin pass: admin
If elasticsearch
fails to start with the following error:
elasticsearch_1_a57db85da40a | ERROR: [1] bootstrap checks failed
elasticsearch_1_a57db85da40a | [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
Make sure to increase your local max virtual memory areas count: sudo sysctl -w vm.max_map_count=262144