Merge pull request #51 from Simonmicro/patch-1

Fix docker 100% cpu load
This commit is contained in:
Matteo ℱan 2020-02-11 23:45:48 +01:00 committed by GitHub
commit d73d0f8f8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,7 @@
docker stop py2-kms
docker rm py2-kms
docker run -it -d --name py2-kms \
docker run -d --name py2-kms \
-t \
-p 8080:8080 \
-p 1688:1688 \
-e IP=0.0.0.0 \
@ -13,4 +14,4 @@ docker run -it -d --name py2-kms \
-e LOGSIZE=2 \
-v /etc/localtime:/etc/localtime:ro \
-v /var/log:/var/log:rw \
--restart unless-stopped pykms/pykms:py2-kms
--restart unless-stopped pykms/pykms:py2-kms

View File

@ -1,6 +1,7 @@
docker stop py3-kms
docker rm py3-kms
docker run -it -d --name py3-kms \
docker run -d --name py3-kms \
-t \
-p 8080:8080 \
-p 1688:1688 \
-e IP=0.0.0.0 \
@ -12,5 +13,4 @@ docker run -it -d --name py3-kms \
-e LOGSIZE=2 \
-v /etc/localtime:/etc/localtime:ro \
-v /var/log:/var/log:rw \
--restart unless-stopped pykms/pykms:py3-kms
# --restart unless-stopped ekonprof18/pykms:py3-kms
--restart unless-stopped pykms/pykms:py3-kms