Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.42 KB

README.md

File metadata and controls

28 lines (17 loc) · 1.42 KB

scava-deployment

This repository contains the Docker configuration files for the deployment of Scava platform

You should follow the following steps to run this setup:

  1. Configure the Environment variable API_GATEWAY_VAR under the web-admin service with the http://<your_hostname>:<gateway_api_public_port>
  2. (Re)Build the docker images using: docker-compose -f docker-compose-build.yml build --no-cache
  3. 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
  4. 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

Issues

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