Skip to content

Files

Latest commit

dba482d · Mar 12, 2021

History

History

source

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 12, 2021
Mar 12, 2021
Mar 12, 2021
Mar 12, 2021

Docker Cloud Build Status Docker Image Version (latest by date)

Docker Configuration - base-repo

This repository contains a the docker configuration files for the base-repo service of KIT DM 2.0 repository platform. It is build and hosted at DockerHub and can be found under the namespace kitdm.

Prerequisites

  • docker (tested with 18.09.2)

Building and Startup

Typically, there is no need for locally building images as all version are accessible via DockerHub (kitdm/base-repo).

Running for example a base-repo instance can be achieved as follows:

user@localhost:/home/user/$ docker run -p 8080:8080 kitdm/base-repo
[...]
user@localhost:/home/user/$

In some cases, you may want to change the configuration of the service instance. All service-specific configuration is located in each image at

/base-repo/conf/application.properties

You can easily overwrite this file by creating an own Dockerfile, which looks as follows in case of the base-repo service:

FROM kitdm/base-repo:latest

COPY application.properties /base-repo/config/application.properties

Afterwards, you have to build the modified image locally by calling:

user@localhost:/home/user/my-base-repo/$ docker build .
[...]
user@localhost:/home/user/my-base-repo/$

Now, you can start the container using your modified configuration.

License

The KIT Data Manager is licensed under the Apache License, Version 2.0.