mirror of
https://github.com/11notes/docker-kms.git
synced 2025-11-01 12:33:44 +00:00
999910195daac36dc18e00bbc64d009ef5accc65
Alpine:: Python KMS
Run a KMS server based on Alpine Linux. Small, lightweight, secure and fast 🏔️
Volumes
- /kms/var - Directory of the sqlite database
Run
docker run --name kms \
-v ../var:/kms/var \
-d 11notes/kms:[tag]
Defaults
| Parameter | Value | Description |
|---|---|---|
user |
docker | user docker |
uid |
1000 | user id 1000 |
gid |
1000 | group id 1000 |
home |
/kms | home directory of user docker |
Environment
| Parameter | Value | Default |
|---|---|---|
KMS_IP |
localhost or 127.0.0.1 or a dedicated IP | 0.0.0.0 |
KMS_PORT |
any port > 1024 | 1688 |
KMS_LOCALE |
see Microsoft LICD specification | 1033 (en-US) |
KMS_ACTIVATIONINTERVAL |
Retry unsuccessful after N minutes | 120 (2 hours) |
KMS_RENEWALINTERVAL |
re-activation after N minutes | 259200 (180 days) |
KMS_LOGLEVEL |
CRITICAL, ERROR, WARNING, INFO, DEBUG, MININFO | INFO |
Parent
Built with
Tips
- Don't bind to ports < 1024 (requires root), use NAT/reverse proxy
- Persistent Storage
- Microsoft LICD
Languages
Dockerfile
88.2%
Shell
11.8%