This container runs the frontend of the KGEV web application as a React app. The following environment variables are required (they can be passed in using the --env or --env-file flag):
SERVER_URL: the URL to access the backend server
NODE_TYPES: a list of options for the node type filter in the search panel
RELATIONSHIP_TYPES: a list of options for the edge type filter in the search panel
EVIDENCE_SOURCES: a list of options for the evidence search in the search panel
Example
Put the following lines in a file calledfrontend.env (SERVER_URL needs to be a real IP address):
SERVER_URL=http://123.456.7.890:5000
NODE_TYPES=["Activities & Behaviors", "Anatomy", "Chemicals & Drugs", "Concepts & Ideas", "COVID-19 (disease)", "Devices", "Disorders", "Genes & Molecular Sequences", "Geographic Areas", "Living Beings", "Objects", "Occupations", "Organizations", "Phenomena", "Physiology", "Procedures", "SARS-CoV-2 (virus)"]
RELATIONSHIP_TYPES=["ADMINISTERED_TO", "AFFECTS", "ASSOCIATED_WITH", "AUGMENTS", "CAUSES", "COEXISTS_WITH", "COMPLICATES", "CONVERTS_TO", "DIAGNOSES", "DISRUPTS", "INHIBITS", "INTERACTS_WITH", "ISA", "LOCATION_OF", "MANIFESTATION_OF", "MEASURES", "METHOD_OF", "OCCURS_IN", "PART_OF", "PRECEDES", "PREDISPOSES", "PREVENTS", "PROCESS_OF", "PRODUCES", "STIMULATES", "TREATS", "USES", "compared_with", "disease-gene", "disease-phenotype", "drug-gene", "gene-GO", "gene-gene", "gene-phenotype", "higher_than", "lower_than", "same_as"]
EVIDENCE_SOURCES=["CORD-19", "DGIdb", "DisGeNET", "HPO", "STRING", "Uniprot"]
Then you can do:
docker run --detach --env-file frontend.env --name kgev-frontend -p 5002:80 genomicslab/kgev-frontend
See genomicslab/kgev-backend for the backend container of the KGEV application.
See the kgev-neo4j GitHub reposistory for documentation on setting up the Neo4j database for the KGEV application.
Content type
Image
Digest
Size
15.1 MB
Last updated
almost 5 years ago
docker pull genomicslab/kgev-frontend