Launch component icon Traefik with Diploi

Launch a new Traefik project and you will instantly have access to a development environment. No sign-up required.

component icon

Traefik

Diploi

  • Proxy
  • Load balancing
GitHub

Something extra?

Choose some optional add-ons to launch with Traefik

Instant launch. No sign-up required.


Traefik Component for Diploi

NOTE! Experimental, not yet released

Launch a trial, no registration needed https://diploi.com/component/traefik

Uses the official Traefik Docker image.

This component provides Traefik as a reverse proxy and load balancer with file-based configuration support.

Operation

Getting started

  1. Sign up at https://console.diploi.com/ using your GitHub account.
  2. In your dashboard, click Create Project +
  3. Under Pick Components, choose Traefik
    If you want to expand your Traefik setup with other tools, like databases or monitoring, here you can add them.
  4. In Pick Add-ons, select any databases or tools supported on Diploi.
  5. In Repository, choose Create Repository which will generate a new GitHub repo for you.
  6. Click Launch Stack

Configuration

The base Traefik configuration is loaded from traefik.yml in the root of the component. This file contains:

  • Entry point is HTTP on port 80 (Diploi will take care of https)
  • API and Dashboard configuration (port 8080) (NOTE! Disabled)
  • File provider for dynamic configuration
  • Kubernetes provider for automatic service discovery
  • Logging configuration

Customizing Configuration

You can customize the Traefik configuration by:

  1. Editing traefik.yml: Modify the base static configuration file
  2. Adding dynamic configuration: Place YAML files in the dynamic/ directory for routers, middlewares, and services

Development

Traefik runs with the same configuration in both development and production environments. The configuration file is mounted as a ConfigMap in Kubernetes.

Production

Traefik runs as a Deployment in production with the configuration loaded from the traefik.yml file. The dashboard is accessible on port 8080 (DISABLED FOR NOW).

Links


What is Diploi?

Diploi is the single SaaS service for managing, developing and hosting your full application.

  • Consistent

    • Consistent environments from development to production
    • Adoptable incrementally - start easy, grow later
  • One-Click

    • Fast 30 second new developer onboarding
    • One-click environment setup
    • Instantly shareable testing environments
  • Zero-Install

    • Zero-install remote development
    • Versatile support for any stack pre-build or custom
Learn more