edge-router:
image: traefik
# further configuration
labels:
- traefik.http.middlewares.heimdall.forwardauth.address=http://heimdall:4456
- traefik.http.middlewares.heimdall.forwardauth.authResponseHeaders=X-Id-Token,Authorization
# further labels
service:
image: my-service
# further configuration
labels:
- traefik.http.routers.service.middlewares=heimdall
# further labels