Skip to content

Commit 003a68f

Browse files
author
Johannes Duesing
committed
Renamed docker host environment variable to DELPHI_DOCKER_HOST
1 parent 91318fc commit 003a68f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Before you can start the application, you have to make sure your configuration f
9393
|```maxIndividualIpReq``` | ```Int``` | ```200``` | Maximum number of requests that are allowed to be executed during the current refresh period for one specific origin ip.|
9494
|```ipLogRefreshRate``` | ```FiniteDuration``` | ```2.minutes``` | Duration of the log refresh period.|
9595

96-
By default, Docker is expected to be reachable at *http://localhost:9095*, but you can override this setting by specifying the docker host URI in the environment variable *DOCKER_HOST*.
96+
By default, Docker is expected to be reachable at *http://localhost:9095*, but you can override this setting by specifying the docker host URI in the environment variable *DELPHI_DOCKER_HOST*.
9797
To change the port of your http docker API to 9095, execute
9898
```
9999
edit /lib/systemd/system/docker.service

src/main/scala/de/upb/cs/swt/delphi/instanceregistry/Docker/DockerConnection.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ object DockerConnection {
1414
def fromEnvironment()(implicit system: ActorSystem, materializer: Materializer): DockerConnection = {
1515
def env(key: String): Option[String] = sys.env.get(key).filter(_.nonEmpty)
1616

17-
val host = env("DOCKER_HOST").getOrElse {
17+
val host = env("DELPHI_DOCKER_HOST").getOrElse {
1818
"http://localhost:9095"
1919
}
2020
DockerHttpConnection(host)

0 commit comments

Comments
 (0)