Refs #919 Added host.docker.internal to connect to host system

This commit is contained in:
cytopia 2023-01-02 12:40:17 +01:00
parent 51a127dda3
commit 6fa4d4a386
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2
2 changed files with 3 additions and 0 deletions

View File

@ -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)

View File

@ -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:
@ -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: