Skip to content

Commit

Permalink
Merge pull request #2345 from lf-lang/docker-networking
Browse files Browse the repository at this point in the history
Docker networking enhancements
  • Loading branch information
cmnrd authored Jul 2, 2024
2 parents 5ccb6f3 + 8a2ab6c commit 5536fdf
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ protected String getServiceDescription(DockerData data) {
context: "%s"
container_name: "%s"
tty: true
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
LF_TELEGRAF_HOST_NAME: ${LF_TELEGRAF_HOST_NAME:-host.docker.internal}
"""
.formatted(getServiceName(data), getBuildContext(data), getContainerName(data));
}
Expand Down

0 comments on commit 5536fdf

Please # to comment.