Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Before you can start the application, you have to make sure your configuration f
|```maxIndividualIpReq``` | ```Int``` | ```200``` | Maximum number of requests that are allowed to be executed during the current refresh period for one specific origin ip.|
|```ipLogRefreshRate``` | ```FiniteDuration``` | ```2.minutes``` | Duration of the log refresh period.|

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*.
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*.
To change the port of your http docker API to 9095, execute
```
edit /lib/systemd/system/docker.service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ object DockerConnection {
def fromEnvironment()(implicit system: ActorSystem, materializer: Materializer): DockerConnection = {
def env(key: String): Option[String] = sys.env.get(key).filter(_.nonEmpty)

val host = env("DOCKER_HOST").getOrElse {
val host = env("DELPHI_DOCKER_HOST").getOrElse {
"http://localhost:9095"
}
DockerHttpConnection(host)
Expand Down