lazymc-docker-proxy icon indicating copy to clipboard operation
lazymc-docker-proxy copied to clipboard

Docker containers must have static IPs

Open joesturge opened this issue 1 year ago • 0 comments

Lazymc uses a TcpSocketAddr to monitor the server for the duration of lazymc running https://github.com/timvisee/lazymc/blob/master/src/util/serde.rs#L27

Socket addresses must be the resolved IP address of the minecraft server. When lazymc stops container, it could come back with a different IP address, which (especially when running multiple servers) can causes issues, you start the "secondary" server and lazymc thinks that the "primary" server started (for no reason). This causes issues.

If we could somehow get lazymc to monitor the server using the DNS name this problem would go away

joesturge avatar Aug 04 '24 23:08 joesturge