cd docker-compose/src
clone you required git repository in this src
directory.
cd docker-compose
execute: docker-compose up -d
open browser and go to localhost:8080
wait for some time(usually few minutes) to let opengrok index the repositories.
refrsh the browser page till you see the repository name pop up on the page.