From bc0d3d2f324ee613424ee31103207222b4b19640 Mon Sep 17 00:00:00 2001 From: salmonik Date: Wed, 29 Jul 2026 12:21:32 +0200 Subject: Config editor, host networking, whitelist RCON MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Config file editor at /instances/{id}/config (browse & edit config/ files) - Host networking for Docker container (fixes WireGuard MTU DNS issues) - Whitelist changes applied live via RCON instead of stopping the server - Config edit handler detects which fields changed: whitelist → RCON, other settings → restart container - walk_dir simplified (removed unused root param) - import_world uses if-let instead of never-looping while-let - docker-compose.yml updated as reference template --- src/docker.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/docker.rs') diff --git a/src/docker.rs b/src/docker.rs index d66767e..f171d43 100644 --- a/src/docker.rs +++ b/src/docker.rs @@ -164,6 +164,7 @@ impl DockerManager { let host_config = HostConfig { binds: Some(vec![format!("{instance_data}:/data")]), port_bindings: Some(port_bindings), + network_mode: Some("host".into()), ..Default::default() }; -- cgit v1.2.3