Public Repository

Last pushed: 2 years ago
Short Description
Image based on jkrue/bibiserv.oge provides an preconfigured BiBiServ instance.
Full Description

Image based on jkrue/bibiserv.oge provides an preconfigured BiBiServ instance. BiBiServ is part of the BiBiCloud framework. A (more) detailed description is available in our Wiki.

A short HowTo:

1) Run the image

> docker run --rm=true -p 2222:22 -p 8080:8080 -p 8081:8081 -p 8009:8009 jkrue/bibiserv:latest

Startup takes some time, so be patient (about 1 min on MacBookAir running boot2docker). Startup
is finished if following log message appear :

> .... INFO exited: bibiserv_setup (exit status 0; expected)

You can now access your BiBiServ instance browsing http://localhost:8080/

2) Deployment Configuration
This step is a bit complicated for now, but neccessary if you want to deploy an application
on top of BiBiServ from your host. Since this image is based on the jkrue/bibiserv.oge the
only know user is root with password root.

> cd $HOME
> scp root@(localhost:VM IP) -P 2222 /root/.bibiserv2_manager .   
> sed -i 's/server=\\./server=localhost/' .bibiserv2_manager 

3) Deploying an app (using Dialign as example)
Deploying an application on top of BiBiServ is normally a two step process

a) Install the application binary inside the running container

> ssh root@(localhost:VM IP) -P 2222
> cd /vol/bibiserv/bin 
> wget http://bibiserv.cebitec.uni-bielefeld.de/resources/apps/dialign.Linux.x86_64.zip
> unzip dialign.Linux.x86_64.zip
> chmod o+x *  
> exit

b) Deploy webapp on BiBiServ

> hg clone ssh://hg@hg.cebitec.uni-bielefeld.de/bibidev/bibiserv2/apps/dialign
> cd dialign
> ant deploy

Dailign is now available via http://localhost:8080/dialign

Docker Pull Command
Owner
jkrue

Comments (0)