Add Traefik to the local.yml for local setup that also includes a user prompt for what has been set in their hosts file for this project. Perhaps provide a default dev.localhost if not provided?
Rationale
Pretty URLs aside, this helps with looking and building multi-tenancy apps (like django-tenant-schemas) but if not, it does look a nice and proper dev environment than using the default localhost:8000. This also avoids the whole port conflict when I already have something running on port 8000.
Use case(s) / visualization(s)
Essentially any SaaS like applications that uses subdomains (perhaps Blogger or Wordpress for reference).
Description
Add Traefik to the
local.yml
for local setup that also includes a user prompt for what has been set in theirhosts
file for this project. Perhaps provide a defaultdev.localhost
if not provided?Rationale
Pretty URLs aside, this helps with looking and building multi-tenancy apps (like
django-tenant-schemas
) but if not, it does look a nice and proper dev environment than using the defaultlocalhost:8000
. This also avoids the whole port conflict when I already have something running on port 8000.Use case(s) / visualization(s)
Essentially any SaaS like applications that uses subdomains (perhaps Blogger or Wordpress for reference).