This repository was archived by the owner on Feb 3, 2026. It is now read-only.
Replies: 1 comment
-
|
After @mikaelpopowicz PR's support for loopback to Laravel Valet, this is much easier now. laravel/valet#1039 available as of version 2.14.0 Now just run |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Typically DNSmasq will resolve the .test domain to
127.0.0.1. With docker, this is a problem for us, as in a container, this resolves to itself.To allow us to communicate effectively, we need to use an alternative IP. Porter has a command to set up the host to listen on
10.200.10.1- but it does not set up all the rest of the system for this, and the command will need to be run each time the machine is bootedporter dns:set-host.We will need to do a few things to work together with Valet in this situation.
10.200.10.1in~/config/valet/dnsmasq.d/tld-test.confreplace127.0.0.1with10.200.10.1127.0.0.1:from all thelisten 127.0.0.1:parts nginx.conf files in~/config/valet/Nginxso nginx will listen on all IPs for the machine. (Alternatively swap to use the new IP instead)127.0.0.1in/etc/resolver/testto10.200.10.110.200.10.1as the first DNS server in your network configurationvalet restartBeta Was this translation helpful? Give feedback.
All reactions