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
@@ -243,7 +269,7 @@ Here is the list of the supported container labels which can be added to the min
243
269
which will be picked up by `lazymc-docker-proxy` (\* is required):
244
270
245
271
- **\*lazymc.enabled=true** - Enable this to inform `lazymc-docker-proxy` that this container should be managed.
246
-
- **\*lazymc.server.address** - The address of the Docker Minecraft server to manage, should use the Docker network address, such as `mc:25565`.
272
+
- **\*lazymc.server.address** - The address of the Docker Minecraft server to manage, should use the internal Docker network address of the server container, such as `mc:25565` or the assigned static IP such as `172.18.0.3:25565`.
247
273
- **\*lazymc.group** - This is used by `lazymc-docker-proxy` to locate the container to start and stop
248
274
- **lazymc.port** - The port on the `lazymc-docker-proxy` container this server will be accessible from. Defaults to `25565`.
249
275
- **lazymc.motd.sleeping** - MOTD, shown in the server browser when sleeping.
@@ -281,7 +307,7 @@ You can enable debug logging using the `RUST_LOG` env var.
281
307
282
308
Here is a full list of the environment variables supported by this image (\* is required):
283
309
284
-
- **\*SERVER_ADDRESS** - The address of the Docker Minecraft server to manage, should use the Docker network address, such as `mc:25565`.
310
+
- **\*SERVER_ADDRESS** - The address of the Docker Minecraft server to manage, should use the internal Docker network address of the server container, such as `mc:25565` or the assigned static IP such as `172.18.0.3:25565`.
285
311
- **\*LAZYMC_GROUP** - The value of the `lazymc.group` label assigned to the Docker Minecraft server. This is used by the image to start or stop the server when lazymc triggers it.
286
312
- **LAZYMC_PORT** - The port on the `lazymc-docker-proxy` container this server will be accessible from. Defaults to `25565`.
287
313
- **MOTD_SLEEPING** - MOTD, shown in the server browser when sleeping.
warn!(target:"lazymc-docker-proxy::entrypoint::docker","WARNING: You should use IPAM to assign a static IP address to your server container otherwise performance may be degraded.");
0 commit comments