Start from scratch with a new simulation #1

Merged
max merged 31 commits from restart into main 2025-04-25 15:03:09 +02:00
Showing only changes of commit 302f5cac50 - Show all commits

View File

@ -366,7 +366,7 @@ fn run_local_docker(port: u16) -> Result<Child, DynError> {
"--env",
"RUST_LOG=error",
"--env",
format!("ROCKET_PORT={}", port).as_str(),
format!("PORT={}", port).as_str(),
"--network=host",
"--rm",
"local_snake",
@ -396,7 +396,7 @@ fn run_production(port: u16) -> Result<Child, DynError> {
"--env",
"RUST_LOG=error",
"--env",
format!("ROCKET_PORT={}", port).as_str(),
format!("PORT={}", port).as_str(),
"--network=host",
"--rm",
"docker.mkaenner.de/snake:latest",