mirror of
https://github.com/SystemRage/py-kms.git
synced 2024-12-26 18:12:45 +08:00
Added the docker image to the readmes
This commit is contained in:
parent
0778ba5c66
commit
4c51738d15
2 changed files with 25 additions and 0 deletions
10
README.md
10
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.
|
||||
|
||||
|
|
15
docker/docker-py3-kms-minimal/README.md
Normal file
15
docker/docker-py3-kms-minimal/README.md
Normal file
|
@ -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
|
||||
```
|
Loading…
Reference in a new issue