This commit is contained in:
@@ -26,7 +26,8 @@ std::filesystem::path get_config_path() {
|
||||
std::vector<std::filesystem::path> 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) {
|
||||
|
@@ -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"]
|
||||
|
Reference in New Issue
Block a user