py-kms/docker/docker-py3-kms/run-py3-kms.sh

17 lines
444 B
Bash
Raw Normal View History

2019-09-13 16:35:38 +08:00
docker stop py3-kms
docker rm py3-kms
2019-03-29 21:46:17 +08:00
docker run -d --name py3-kms \
-p 8080:8080 \
-p 1688:1688 \
-e IP=0.0.0.0 \
-e PORT=1688 \
-e SQLITE=true \
2019-09-13 16:35:38 +08:00
-e HWID=RANDOM \
2019-03-29 21:46:17 +08:00
-e LOGLEVEL=INFO \
-e LOGFILE=/var/log/py3-kms.log \
2019-09-13 16:35:38 +08:00
-e LOGSIZE=2 \
2019-03-29 21:46:17 +08:00
-v /etc/localtime:/etc/localtime:ro \
-v /var/log:/var/log:rw \
--restart unless-stopped pykms/pykms:py3-kms
2019-09-13 16:35:38 +08:00
# --restart unless-stopped ekonprof18/pykms:py3-kms