From 4c51738d150a8850be6b53848f4c2378951f238b Mon Sep 17 00:00:00 2001 From: Simon Beginn Date: Thu, 13 Feb 2020 13:15:47 +0100 Subject: [PATCH] Added the docker image to the readmes --- README.md | 10 ++++++++++ docker/docker-py3-kms-minimal/README.md | 15 +++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 docker/docker-py3-kms-minimal/README.md diff --git a/README.md b/README.md index 5a82b44..2f6518a 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,16 @@ _py-kms_ is a port of node-kms created by [cyrozap](http://forums.mydigitallife. - With Etrigan you have another way to launch py-kms GUI (specially suitable if you're using a virtualenv), so: `python pykms_Server.py etrigan start -g` and stop the GUI with the same precedent command (or interact with EXIT button). +# Docker +This projects has docker image support. You can find all available image configurations inside the docker folder. +There are three tags of the images available: +* `latest`, wich is based on the python3 minimal configuration of py-kms. _This image does NOT include SQLLite support!_ +* `minimal`, currently the same like latest... +* `python2`, which is fully configurable and equiped with SQLLite support and web interface. +* `python3`, which is like the `python2` tag - just with Python 3... +If you just want to use the image and don't want to build them yourself, you could use the image from @Simonmicro at the docker hub (`realsimonmicro/py-kms`). +To ensure that the image is always up-to-date you should check [watchtower](https://github.com/containrrr/watchtower) out! + # Other Important Stuff Consult the [Wiki](https://github.com/SystemRage/py-kms/wiki) for more information about activation with _py-kms_ and to get GVLK keys. diff --git a/docker/docker-py3-kms-minimal/README.md b/docker/docker-py3-kms-minimal/README.md new file mode 100644 index 0000000..a82f06f --- /dev/null +++ b/docker/docker-py3-kms-minimal/README.md @@ -0,0 +1,15 @@ +# HowTo start the image... +``` +docker run -it -d --name py3-kms \ + -p 8080:8080 \ + -p 1688:1688 \ + -e IP=0.0.0.0 \ + -e PORT=1688 \ + -e HWID=RANDOM \ + -e LOGLEVEL=INFO \ + -e LOGSIZE=2 \ + -e LOGFILE=/var/log/py3-kms.log \ + -v /etc/localtime:/etc/localtime:ro \ + -v /var/log:/var/log:rw \ + --restart unless-stopped realsimonmicro/py-kms:minimal +```