Skip to content

galaxy-genome-annotation/apolpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apolpi

Docker Repository on Quay Lint

This is a tiny Flask application reimplementing a specific API function (organism listing) of Apollo, to make it run way faster.

See GMOD/Apollo#2626 for more details on why we implemented it.

Running with docker-compose

A typical docker-compose.yml to run this app looks like that:

version: '3.7'
  services:

    apolpi:
    	image: quay.io/galaxy-genome-annotation/apolpi
            environment:
                SQLALCHEMY_DATABASE_URI: "postgresql://username:password@localhost:5432/apollo"

Configuring Nginx proxy

You need to configure your reverse proxy (Nginx for example) to redirect the traffic for this specific API endpoint, like this:

location /apollo/organism/findAllOrganisms {
   proxy_pass http://127.0.0.1:80/organism/findAllOrganisms;
}

The rest of the API traffic need to be proxied to the normal Apollo application as usual.

Required env variables

  • SQLALCHEMY_DATABASE_URI Connection Uri to the postgres database of Apollo

About

Partial, faster reimplementation of Apollo API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •