Skip to content

Commit

Permalink
Refs #919 Added host.docker.internal to connect to host system
Browse files Browse the repository at this point in the history
  • Loading branch information
cytopia committed Jan 2, 2023
1 parent 51a127d commit 6fa4d4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ This release provides the `dvl.to` domain to be used with `TLD_SUFFIX` (set to d

### Fixed
- Intranet: mail.php fixed deprecation warnings [#798](https://github.com/cytopia/devilbox/issues/798)
- Added `host.docker.internal` to extra_hosts to be able to connect to the host system [#919](https://github.com/cytopia/devilbox/issues/919)

### Changed
- Use `dvl.to` as default `TLD_SUFFIX` (it always poits to `127.0.0.1` removing the need to create `/etc/hosts` entries)
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ services:
extra_hosts:
docker.for.lin.host.internal: 172.16.238.1
docker.for.lin.localhost: 172.16.238.1
host.docker.internal: host-gateway

networks:
app_net:
Expand Down Expand Up @@ -171,6 +172,7 @@ services:
extra_hosts:
docker.for.lin.host.internal: 172.16.238.1
docker.for.lin.localhost: 172.16.238.1
host.docker.internal: host-gateway

networks:
app_net:
Expand Down

0 comments on commit 6fa4d4a

Please sign in to comment.