From dd02b8b33b82814dd787c6fcb4de4ffb799ea797 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 30 May 2025 21:51:54 +1200 Subject: [PATCH] :-'Generic Commit' --- src/main.cpp | 3 ++- testing/compose.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index bc3f1ea..d82fa0c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -26,7 +26,8 @@ std::filesystem::path get_config_path() { std::vector config_paths = { "/data/sos_config.json", _home / ".config/simple_object_storage/config.json", - _exe / ".." / ".test" / "config.json" + _exe / ".." / ".test" / "config.json", + "/testing/sos_config.json" }; for (const auto& path : config_paths) { diff --git a/testing/compose.yaml b/testing/compose.yaml index ecae826..ff04e60 100644 --- a/testing/compose.yaml +++ b/testing/compose.yaml @@ -5,7 +5,7 @@ services: ports: - 7703:7703 volumes: - - ./config.json:/data/sos_config.json + - ./config.json:/testing/sos_config.json:ro restart: no healthcheck: test: ["CMD", "wget", "-qO-", "http://127.0.0.1:7703/status"]