DataONEorg / bookkeeper

Bookkeeper keeps track of DataONE product subscriptions and quotas for researchers using the extended services.
Other
1 stars 2 forks source link

Add Docker image build to maven #28

Closed gothub closed 4 years ago

gothub commented 4 years ago

Use the io.fabric8 maven plugin to build and push a bookkeeper Docker image to docker hub. The d1bookkeeper (existing repo) or the dataoneorg (needs to be created) can be used. If we use the dataoneorg username/repo, this needs to be associated with an email address. What email address could be used for this?

gothub commented 4 years ago

@csjx has setup a d1bookkeeper repo on Docker hub that we will use for the bookkeeper images.

gothub commented 4 years ago

Added in commit 2e06b3080701256334ae61c3abc0026aa8832b57

gothub commented 4 years ago

The Docker file has been updated so that when bookkeeper is started, it reads from an external configuration file (i.e. /data/bookkeeper/bookkeeper.yml) so that a configuration change can be effected by changing the file and restarting the k8s deployment & service.

The previous method pulled the config file in from the source tree and "baked" it into the Docker image.

This was updated in commit 823565f9c38b36874f5e6ff8ceaf61e7ca4a4bb5