Working on Multiple Web Projects with Docker Compose and Traefik

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • lando

    A development tool for all your projects that is fast, easy, powerful and liberating

  • at the agency i work at we have been using https://lando.dev for some time with a lot of success. It is an abstraction over docker which isn't ideal but it allows us to quickly get going with projects and switch with no down time.

  • dnsmasq

    Mirror of the upstream dnsmasq repository

  • This seems like an improvement over my current solution in that it can keep multiple projects open simultaneously and route to each of them, but does add more complexity to the setup.

    I'm using Dnsmasq (https://thekelleys.org.uk/dnsmasq/doc.html) to map anything at .lo to the currently running project, like so:

      brew install dnsmasq

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • nginx-proxy

    Automated nginx proxy for Docker containers using docker-gen

  • If Traefik is not your thing Im happily using https://github.com/nginx-proxy/nginx-proxy and sslip.io for local docker compose development.

    And then even plain nginx to proxy to non docker services...

    (And ipv6 for really short urls. E.g. `example.com.--1.sslip.io` etc)

  • caddy-docker-proxy

    Caddy as a reverse proxy for Docker

  • I have had a great experience with using this: https://github.com/lucaslorentz/caddy-docker-proxy

    It combines caddy with docker-compose labels, making it super easy to spin up new projects that can immediately be exposed.

  • dotfiles

    My dotfiles (by CGamesPlay)

  • You can set this up with even less customization. Here's my snippet for doing so [0]. In this way, the default rule for all containers that are part of compose projects gets assigned a subdomain (service.compose-stack.lvh.me).

    However, even with my tweaks, the overall solution is still limited. Because it's not on "localhost", the browser considers it an "insecure context" unless you also set up local HTTPS.

    [0] https://github.com/CGamesPlay/dotfiles/blob/13659d19ca899cea...

  • coolify

    An open-source & self-hostable Heroku / Netlify / Vercel alternative.

  • I believe this is the core of what Coolify[0] does.

    [0] https://coolify.io/

  • ddev

    Docker-based local PHP+Node.js web development environments

  • I use https://ddev.com for almost all of my web project development, which basically automates all of this. Per-project databases, web containers, plugins, etc, and it’s now using Traefik as its router.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts