Code Monkey home page Code Monkey logo

biothings-docker-separate's Introduction

Docker Images for BioThings

This repository contains Dockerfiles necessary to produce Docker images for BioThings.

Running a MyGeneset Hub

With docker installed, first run make in the biothings-api directory to build the base image, then run make mygeneset-hub in the biothings-apps directory, then make in the biothings-studio directory to build the current web app.

Then, switch to the biothings-sdk-compose directory and run docker-compose -f docker-compose.mygeneset.yml up to start all the containers. Then you can access the current web-app at http://localhost:8080 and the hub will be listening on http://localhost:7080 .

Using the SDK

To get started using the SDK, you need to have Docker and Docker Compose set up. Then, go to the biothings-sdk-compose directory and run docker-compose up launch the SDK.

You can access the BioThings Web App at http://<LOCALHOST_OR_IP_OF_DOCKER_HOST>:8080 . The BioThings Hub will be listening on port 7080 for HTTP and WebSocket requests, and on port 7022 for SSH connections. Persistent data will be located in the biothings directory in the persistent data volume.

In the persistent data volume, there will be the SSH host keys for BioThings Hub. Also, there will be logs and other useful information. To develop data plugins, place them into the biothigns/biothings-standalone-hub/plugins directory.

The docker compose file will run multiple containers, containing MongoDB listening on port 27017, ElasticSearch on port 9200, BioThings Web App on port 8080, and BioThings Hub on ports 7080 and 7022. An optional instance of Cerebro will be listenting on port 9000 for inspecting the ElasticSearch Data.

Base Image

The base BioThings image contains only the biothings.api package and other necessary Python packages. It is intended for building new APIs from scratch using the biothings.api.

Individual API/Hubs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.