mirror of
https://github.com/SystemRage/py-kms.git
synced 2025-10-10 16:59:24 +08:00
py3 docker updated
This commit is contained in:
@@ -31,8 +31,9 @@ docker run -d --name py3-kms \
|
||||
-e IP=0.0.0.0 \
|
||||
-e PORT=1688 \
|
||||
-e SQLITE=true \
|
||||
-e HWID=random \
|
||||
-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 \
|
||||
@@ -94,7 +95,7 @@ ENV SQLITE false
|
||||
ENV HWID 364F463A8863D35F
|
||||
# Use this flag to specify a HWID.
|
||||
# The HWID must be an 16-character string of hex characters.
|
||||
# The default is "364F463A8863D35F" or type "random" to auto generate the HWID.
|
||||
# The default is "364F463A8863D35F" or type "RANDOM" to auto generate the HWID.
|
||||
|
||||
# EN: log level ("CRITICAL", "ERROR", "WARNING", "INFO", "DEBUG")
|
||||
# RU: Уровень логирования ("CRITICAL", "ERROR", "WARNING", "INFO", "DEBUG")
|
||||
@@ -107,6 +108,11 @@ ENV LOGFILE /var/log/pykms_logserver.log
|
||||
# Use this flag to set an output Logfile. The default is "/var/log/pykms_logserver.log".
|
||||
```
|
||||
|
||||
# EN: log file size in MB
|
||||
# RU: Максимальный размер Лог-файл в мегабайтах
|
||||
ENV LOGSIZE ""
|
||||
# Use this flag to set a maximum size (in MB) to the output log file. Desactivated by default.
|
||||
|
||||
# Other Important Stuff
|
||||
Consult the [Wiki](https://github.com/SystemRage/py-kms/wiki) for more informations about activation with _py-kms_ and to get GVLK keys.
|
||||
|
||||
|
Reference in New Issue
Block a user