Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker containers must have static IPs #63

Open
joesturge opened this issue Aug 4, 2024 · 0 comments
Open

Docker containers must have static IPs #63

joesturge opened this issue Aug 4, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@joesturge
Copy link
Owner

joesturge commented Aug 4, 2024

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 joesturge added bug Something isn't working help wanted Extra attention is needed labels Aug 6, 2024
@joesturge joesturge removed the bug Something isn't working label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant