-
Notifications
You must be signed in to change notification settings - Fork 14
Docker and SSH Tunnels
At the moment there are three possible ways to work from outside the MPI.
Currently only KAlign, Clustal Omega and PSIBlast are available (but no database yet). Here is how to run our containers:
- install docker and docker-compose (should be included in regular docker installation)
- run
docker-compose run --service-ports toolkit
from inside the root folder to launch the containers - on the sbt shell use 'run 1234' to start the toolkit
If you have CGW access to the MPI servers, you can tunnel via ssh.
e.g.
ssh -fN -L 5556:olt.eb.local:22 -L 7500:olt.eb.local:7500 snam@cgw.tuebingen.mpg.de
where 5556 is a custom binding to map 22 to a local port and 7500 is the port on which the toolkit instance runs.
Set the MONGODB_URI environment variable before running the toolkit, or you can use the application-ext.conf to set mongodb.uri
.
e.g.
"mongodb://localhost:27017/tkplay_dev"
You also need to download a file from http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz
and set MAXMIND_DB environment variable to its path
e.g.
"/home/zin/GeoLite2-City.mmdb"