mirror of
https://github.com/SystemRage/py-kms.git
synced 2024-11-22 08:15:38 +01:00
Merge pull request #51 from Simonmicro/patch-1
Fix docker 100% cpu load
This commit is contained in:
commit
d73d0f8f8a
@ -1,6 +1,7 @@
|
|||||||
docker stop py2-kms
|
docker stop py2-kms
|
||||||
docker rm py2-kms
|
docker rm py2-kms
|
||||||
docker run -it -d --name py2-kms \
|
docker run -d --name py2-kms \
|
||||||
|
-t \
|
||||||
-p 8080:8080 \
|
-p 8080:8080 \
|
||||||
-p 1688:1688 \
|
-p 1688:1688 \
|
||||||
-e IP=0.0.0.0 \
|
-e IP=0.0.0.0 \
|
||||||
@ -13,4 +14,4 @@ docker run -it -d --name py2-kms \
|
|||||||
-e LOGSIZE=2 \
|
-e LOGSIZE=2 \
|
||||||
-v /etc/localtime:/etc/localtime:ro \
|
-v /etc/localtime:/etc/localtime:ro \
|
||||||
-v /var/log:/var/log:rw \
|
-v /var/log:/var/log:rw \
|
||||||
--restart unless-stopped pykms/pykms:py2-kms
|
--restart unless-stopped pykms/pykms:py2-kms
|
@ -1,6 +1,7 @@
|
|||||||
docker stop py3-kms
|
docker stop py3-kms
|
||||||
docker rm py3-kms
|
docker rm py3-kms
|
||||||
docker run -it -d --name py3-kms \
|
docker run -d --name py3-kms \
|
||||||
|
-t \
|
||||||
-p 8080:8080 \
|
-p 8080:8080 \
|
||||||
-p 1688:1688 \
|
-p 1688:1688 \
|
||||||
-e IP=0.0.0.0 \
|
-e IP=0.0.0.0 \
|
||||||
@ -12,5 +13,4 @@ docker run -it -d --name py3-kms \
|
|||||||
-e LOGSIZE=2 \
|
-e LOGSIZE=2 \
|
||||||
-v /etc/localtime:/etc/localtime:ro \
|
-v /etc/localtime:/etc/localtime:ro \
|
||||||
-v /var/log:/var/log:rw \
|
-v /var/log:/var/log:rw \
|
||||||
--restart unless-stopped pykms/pykms:py3-kms
|
--restart unless-stopped pykms/pykms:py3-kms
|
||||||
# --restart unless-stopped ekonprof18/pykms:py3-kms
|
|
Loading…
Reference in New Issue
Block a user