This commit is contained in:
@@ -26,7 +26,8 @@ std::filesystem::path get_config_path() {
|
|||||||
std::vector<std::filesystem::path> config_paths = {
|
std::vector<std::filesystem::path> config_paths = {
|
||||||
"/data/sos_config.json",
|
"/data/sos_config.json",
|
||||||
_home / ".config/simple_object_storage/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) {
|
for (const auto& path : config_paths) {
|
||||||
|
@@ -5,7 +5,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 7703:7703
|
- 7703:7703
|
||||||
volumes:
|
volumes:
|
||||||
- ./config.json:/data/sos_config.json
|
- ./config.json:/testing/sos_config.json:ro
|
||||||
restart: no
|
restart: no
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:7703/status"]
|
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:7703/status"]
|
||||||
|
Reference in New Issue
Block a user