
* Docker
* Ram > 8GB
* Space > 5GB
git clone https://github.com/syphax-bouazzouni/ontoportal-swarm-docker.git
cd ontoportal-swarm-docker
docker swarm init
docker network create --driver=overlay --attachable --opt encrypted shared-network
cp .env.sample .env
docker stack deploy -c api.compose.yml ontoportal-api
docker stack deploy -c ui.compose.yml ontoportal-ui
docker run -it --rm \
--name swarmpit-installer \
--volume /var/run/docker.sock:/var/run/docker.sock \
swarmpit/install:1.9
# Create the admin user with a random password
docker exec -it $(docker ps -q -f name=ontoportal-api_ncbo_cron) bash -c './provision/create_admin_user.sh'
# Import and parse the STY ontology from the NCBO BioPortal
docker exec -it $(docker ps -q -f name=ontoportal-api_ncbo_cron) bash -c './provision/create_parse_sty.sh'