diff --git a/configs/datastorage/configuration.toml b/configs/datastorage/configuration.toml index 5d237c41..81c9277f 100644 --- a/configs/datastorage/configuration.toml +++ b/configs/datastorage/configuration.toml @@ -2,7 +2,7 @@ LogLevel = 'DEBUG' [Service] -Host = 'localhost' +Host = '172.17.0.1' Port = 49986 ConnectRetries = 20 Labels = [] @@ -22,13 +22,13 @@ FailWaitTime = 10 [Clients] [Clients.Data] Protocol = "http" - Host = "localhost" + Host = "172.17.0.1" Port = 48080 Timeout = 5000 [Clients.Metadata] Protocol = "http" - Host = "localhost" + Host = "172.17.0.1" Port = 48081 Timeout = 5000 diff --git a/docs/datastorage.md b/docs/datastorage.md index 11856494..8d4e78e8 100644 --- a/docs/datastorage.md +++ b/docs/datastorage.md @@ -34,6 +34,8 @@ The following architecture assumes that data stored at data controller would be ### 4.1 Configuration - Placement the [`test/container/datastorage/`](../test/container/datastorage/) folder into `/var/edge-orchestration/apps/` in your **Home Edge** with Data Storage (**Device A**). + +- For running service in dockers, replace the Host IP of metadata, coredata, service to docker0 IP. For example here it is 172.17.0.1 ```sh $ sudo cp -rf test/container/datastorage/ /var/edge-orchestration/apps/ ```