Skip to content

dtulibrary/mother-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mother-docker

A project which can build the entire DTU-Findit infrastructure

You need docker and docker-compose installed.

  1. Start by cloning this repo recursively which gets all the submodules.

git clone --recursive <repourl>

If you are not in the dtulibrary group you need:

./clone_all.sh

.. which asks if you want to clone via SSH (Default, only DTU members) or HTTPS (everyone else)

  1. Use Docker Compose to build and start all the containers.

docker-compose up

or:

./compose_start.sh

  1. The first time you need to create databases

./compose_first_run.sh

  1. Once in a while, to update the submodules you can do:

./update_submodules.sh

###Services and ports### Now you can visit

Service Port Purpose
Findit http://localhost:3000 Findit frontend
Findit-Auth http://localhost:3001 Authentication system
DocDel http://localhost:3002 Document delivery
Getit http://localhost:3003 Link resolver proxy
Sendit http://localhost:3004 Communication server, sends emails
DocStore http://localhost:3005 Document store
Redmine http://localhost:3006 A project management web application
Alerting http://localhost:3007
Covers http://localhost:3008 IIIF Compliant cover image service
DTUBasen http://localhost:3009
Reprintsdesk http://localhost:3010
DTULocal Scan http://localhost:3011
DTU Cas http://localhost:3012

Docker Swarm (Experimental)

We added scripts to start Findit on the Swarm (docker-compose not needed)

  1. Start your (local) Swarm

docker swarm init

  1. Start a local registry

The Swarm requires you to put your images in a registry. For now we create our own registry:

./swarm_start_jenkins_registry

  1. Build images and put them in the registry

There is a script to build and push images to the registry, it accepts the project name as a parameter:

./swarm_build_and_push_to_registry.sh toshokan

If you want to build ALL projects do:

./swarm_build_and_push_to_registry.sh all

  1. Start services

./swarm_start_findit.sh

####Additional####

Here is a list of all the containers we are working on dockerizing.

Pull requests / issues welcome!

About

A project which can build the entire infrastructure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •