diff --git a/tests/infrastructure/storage.tf b/tests/infrastructure/storage.tf index 479f9a6..f217b0a 100644 --- a/tests/infrastructure/storage.tf +++ b/tests/infrastructure/storage.tf @@ -11,13 +11,14 @@ resource "docker_container" "answer_server" { network_mode = "host" - # Mount the answer server root directory which contains: - # default.toml — fallback answer file - # answers/ — per-MAC answer files - # The server expects both at ./default.toml and ./answers/ relative to /app volumes { - host_path = var.answer_server_dir - container_path = "/app" + host_path = "${var.answer_server_dir}/answers" + container_path = "/app/answers" + } + + volumes { + host_path = "${var.answer_server_dir}/default.toml" + container_path = "/app/default.toml" } }