You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LABEL org.opencontainers.image.description="A port of node-kms created by cyrozap, which is a port of either the C#, C++, or .NET implementations of KMS Emulator."
[py-kms](https://github.com/Py-KMS-Organization/py-kms) is a port of node-kms created by cyrozap, which is a port of either the C#, C++, or .NET implementations of KMS Emulator. The original version was written by CODYQX4 and is derived from the reverse-engineered code of Microsoft's official KMS. This version of py-kms is itself a fork of the original implementation by SystemRage, which was abandoned early 2021.
15
15
@@ -42,7 +42,6 @@ Compatible with docker-compose v2 schemas.
42
42
43
43
```yaml
44
44
---
45
-
version: "2.1"
46
45
services:
47
46
py-kms:
48
47
image: ghcr.io/thespad/py-kms:latest
@@ -51,9 +50,9 @@ services:
51
50
- PUID=1000
52
51
- PGID=1000
53
52
- TZ=Europe/London
54
-
- LEGACY_NET=#optional
53
+
- IP=0.0.0.0#optional
55
54
volumes:
56
-
- /path/to/appdata/config:/config
55
+
- /path/to/py-kms/config:/config
57
56
ports:
58
57
- 1688:1688
59
58
restart: unless-stopped
@@ -66,10 +65,10 @@ docker run -d \
66
65
--name=py-kms \
67
66
-e PUID=1000 \
68
67
-e PGID=1000 \
69
-
-e LEGACY_NET= `#optional` \
68
+
-e IP=0.0.0.0 `#optional` \
70
69
-e TZ=Europe/London \
71
70
-p 1688:1688 \
72
-
-v /path/to/appdata/config:/config \
71
+
-v /path/to/py-kms/config:/config \
73
72
--restart unless-stopped \
74
73
ghcr.io/thespad/py-kms:latest
75
74
```
@@ -84,7 +83,7 @@ Container images are configured using parameters passed at runtime (such as thos
84
83
|`-e PUID=1000`| for UserID - see below for explanation |
85
84
|`-e PGID=1000`| for GroupID - see below for explanation |
86
85
|`-e TZ=Europe/London`| Specify a timezone to use EG Europe/London |
87
-
|`-e LEGACY_NET=`|Set to `true` if you have an ancient host that can't support IPv6 dual stack. This will force py-kms to only bind to the IPv4 interface inside the container. |
86
+
|`-e IP=`|IP address to bind to. Use `0.0.0.0` for all IPv4 interfaces, use `::` for all IPv6 interfaces, or specify a full address. Note that for compose you must quote the full variable, e.g. `- "IP=0.0.0.0"` or `- "IP=::"`. |
88
87
|`-v /config`| Contains all relevant configuration files. |
89
88
90
89
## User / Group Identifiers
@@ -111,6 +110,7 @@ In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as bel
111
110
112
111
## Versions
113
112
113
+
***26.05.24:** - Rebase to Alpine 3.20.
114
114
***30.12.23:** - Rebase to Alpine 3.19.
115
115
***29.10.23:** - Provide IPv4-only option for legacy hosts.
116
116
***14.05.23:** - Rebase to Alpine 3.18. Drop support for armhf.
0 commit comments