Docker images for MOLGENIS applications.
-
Navigate to http://localhost:8081/ in your browser and verify that the page cannot be found
-
Both the molgenis images and the elastic search image require a 'large' amount of memory. It is therefore advised to supply the docker engine with a minimum of 4g memory when using the docker-compose file. Alternatively tryout the experimental feature branch that makes use of the 'UseCGroupMemoryLimitForHeap' java option to dynamically constrain memory usage.
On Linux, increase the operating system limits on mmap counts by running the following command as root:
sysctl -w vm.max_map_count=262144
To set this value permanently, update the vm.max_map_count
setting in /etc/sysctl.conf
.
git clone https://github.com/molgenis/docker.git
cd docker/molgenis/8.1
docker-compose up
Navigate to http://localhost:8081/ in your browser.
Ctrl-C in the terminal
docker-compose down
docker volume prune
docker-compose down
docker volume prune
git pull origin master
docker-compose up --force-recreate
Edit the .env
file or export the variables in shell.
Example for .env file:
REGISTRY=registry.molgenis.org/molgenis/molgenis-app
TAG=PR-8000-1
Example for exporting variables in shell:
export REGISTRY=registry.molgenis.org/molgenis/molgenis-app
export TAG=PR-8000-1