Webmobix Logo

Local Development With an Ingress Proxy and Custom DNS on MacOS

Team

In this Medium article, our CTO Danny Thuering walks through how to set up a local development environment on MacOS that uses an Ingress proxy (Traefik) and custom domain names (via CoreDNS).

Key Benefits

Setup Guide

The article provides a step-by-step guide on installing and configuring Traefik and CoreDNS using Homebrew:

  1. Configuring CoreDNS to serve custom local domains
  2. Enabling the MacOS DNS resolver to use CoreDNS
  3. Setting up Traefik as the Ingress proxy to route traffic to local services
  4. Testing the local domain resolution and Traefik routing

By following this guide, developers can create a more production-like local environment, simplify URLs, streamline testing, and gain advanced traffic routing capabilities. While services still run on different localhost ports, accessing them via the browser and configuring them becomes much more aligned with production setups.

Read the full article on Medium.