Skip to content

Commit

Permalink
enable host.docker.internal
Browse files Browse the repository at this point in the history
Took 5 minutes
  • Loading branch information
fabio-ivona committed Aug 30, 2021
1 parent ffa582c commit b7b09b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/Containers/Nginx.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class Nginx extends Container{
'depends_on' => [
self::PHP_SERVICE_NAME,
],
'extra_hosts' => ['host.docker.internal:host-gateway'],
];


Expand Down
1 change: 1 addition & 0 deletions app/Containers/Php.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class Php extends Container
],
],
'expose' => [9000],
'extra_hosts' => ['host.docker.internal:host-gateway'],
];

protected array $volumes = [
Expand Down

0 comments on commit b7b09b3

Please sign in to comment.