traefik/integration/resources/compose/hostresolver.yml

14 lines
299 B
YAML
Raw Normal View History

version: "3.8"
services:
server1:
image: traefik/whoami
labels:
traefik.enable: true
traefik.http.services.service1.loadbalancer.server.port: 80
traefik.http.routers.router1.rule: Host(`github.com`)
networks:
default:
name: traefik-test-network
external: true