Skip to content
Repo to handle docker orchestration in the cloud
Python Dockerfile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
intermine_compose
tests
.dockerignore
.flake8
.gitignore
Dockerfile
LICENSE
README.md
docker-compose.yml
launch.sh
openapi.json
requirements.txt
run.py

README.md

intermine-compose

Repo to handle docker orchestration in the cloud

Getting started

Step 0

Create a .env file in the root of repo and add these:

# change values as needed
FLASK_CONFIG_MODE=development
CONFIGURATOR_URL=http://localhost:9999/
KUBE_ENABLE=False
IM_DATA_DIR=/tmp/sharedfs

Step 1 (optional but recommended)

Create a python virtual environment

conda create -n intermine_compose python=3.6 && conda activate intermine_compose

Step 2

Install python packages

pip install -r requirements.txt

Step 3

Launch configurator app in a docker container

docker run --rm -p 9999:8080 --env IM_DATA_DIR=/intermine/data intermine/configurator:latest

Note: 9999 is the host port to which configurator will bind to.

Step 4

Launch flask app

python run.py

Note : These instructions assumes that you have a local instance of postgres and redis running. Also your postgres user is postgres and password is postgres. You can change the defaults in config/development.py

You can’t perform that action at this time.