You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, let's begin with my steps, after some years of hiatus developing sites with the Seravo image :)
git clone'd a site from a Seravo install
Echoed the SITE=foo to a .env file
Tried running the docker environment with my M1 laptop (Ventura)
So, after confusing myself with a sparse documentation and googling some GitHub issues regarding seravo/wordpress image, I'm not sure if the Docker image should advertise the foo.local type address, or am I supposed to add the 127.0.0.1 foo.local and ::1 foo.local entries to /etc/hosts (after which the dev site opens).
But then there's the (I guess now age-old) Bonjour/mDNS thing with .local domains in macOS, which sometimes does weird things and is slow. Is/should there a way to easily use another domain with the Docker setup? Just quickly looking the bootstrap scripts in the Wordpress image, it just takes the SITE variable and adds .local to it.
But also regarding the address advertising, I guess it would be fairly easy to do some dnsmasq and /etc/resolver/ magic to just point all requests to a .test (or whatever that's not .local or otherwise reserved) TLD to localhost, which would then make developer's life easier when doing multiple sites.
Thoughts? Also, a bit of a rush just now, so sorry for maybe incomplete data but I'll be happy to discuss further :)
The text was updated successfully, but these errors were encountered:
Well, let's begin with my steps, after some years of hiatus developing sites with the Seravo image :)
So, after confusing myself with a sparse documentation and googling some GitHub issues regarding seravo/wordpress image, I'm not sure if the Docker image should advertise the foo.local type address, or am I supposed to add the
127.0.0.1 foo.local
and::1 foo.local
entries to /etc/hosts (after which the dev site opens).But then there's the (I guess now age-old) Bonjour/mDNS thing with .local domains in macOS, which sometimes does weird things and is slow. Is/should there a way to easily use another domain with the Docker setup? Just quickly looking the bootstrap scripts in the Wordpress image, it just takes the SITE variable and adds .local to it.
But also regarding the address advertising, I guess it would be fairly easy to do some dnsmasq and /etc/resolver/ magic to just point all requests to a .test (or whatever that's not .local or otherwise reserved) TLD to localhost, which would then make developer's life easier when doing multiple sites.
Thoughts? Also, a bit of a rush just now, so sorry for maybe incomplete data but I'll be happy to discuss further :)
The text was updated successfully, but these errors were encountered: