-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mrjones try and hack host.docker.internal to work
- Loading branch information
1 parent
ee24210
commit 034b515
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# file to add shared host of host.docker.internal to all instances running in dev | ||
# thanks https://stackoverflow.com/a/70725882 | ||
# and thanks https://nickjanetakis.com/blog/connect-to-a-service-running-on-your-docker-host-from-a-container | ||
|
||
services: | ||
prometheus: | ||
extra_hosts: | ||
- "host.docker.internal:host-gateway" | ||
|
||
grafana: | ||
extra_hosts: | ||
- "host.docker.internal:host-gateway" | ||
|
||
json-exporter: | ||
extra_hosts: | ||
- "host.docker.internal:host-gateway" | ||
|
||
sql_exporter: | ||
extra_hosts: | ||
- "host.docker.internal:host-gateway" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters