Docker Templates
All Templates

Traefik

Reverse proxy and load balancer.

NetworkingUpdated 17 days ago·4 files

Traefik

[!IMPORTANT] Please go open the GitLab repo to this template since you'd require a little more.

Create domains

After installing the container it auto generated the folder conf.d in there you can add new domains

Template

http:
  routers:
    SERVICE-NAME:
      rule: "Host(`sub.domain.com`)"
      entryPoints:
        - websecure
      service: SERVICE-NAME
      tls:
        certResolver: letsencrypt

  services:
    SERVICE-NAME:
      loadBalancer:
        servers:
          - url: "http://0.0.0.0:80"