This is the source repository for the trusted builds of the mhubig/partkeepr
docker image releases. For more information on PartKeepr check out the website.
The most resent version is: 1.4.0-17
To use it, you need to have a working docker installation. Start by running the following command:
export PARTKEEPR_OKTOPART_APIKEY=0123456
docker run -d -p 8080:80 -e PARTKEEPR_OKTOPART_APIKEY --name partkeepr mhubig/partkeepr
Or clone the repo and run PartKeepr with docker-compose. This will also start a preconfigured MariaDB database container.
git clone https://github.com/mhubig/docker-partkeepr.git
cd docker-partkeepr
export PARTKEEPR_OKTOPART_APIKEY=0123456
docker-compose up # add -d to run in deamon mode
To get a list of all supported environmnet variables go to the file
mkparameters
, starting at line 15.
Now open the partkeepr setup page (e.g.: http://localhost:8080/setup) and follow the directions. To get the generated authentikation key you do something like this:
docker exec -it partkeepr cat app/authkey.php
or
docker-compose exec partkeepr cat app/authkey.php
The default database parameters are:
docker build -t mhubig/partkeepr:latest --rm .
Since I have switched to GitHub Flow, releasing is now quite simple. Ensure you are on master, bump the version number and push:
./bump-version.sh 1.4.0-17
git push && git push --tags
This git repo is connected to a build Pipeline on https://hub.docker.com. A new
Image is build for every Tag pushed to this repo. The images are taged with a
version number (e.g. 1.4.0-17
) and latest
.