externalservice.yaml 600 B

1234567891011121314151617
  1. ---
  2. http:
  3. # -- Change Router Configuration here...
  4. routers:
  5. your-local-router:
  6. rule: "Host(`your-local-service.your-domain.com`)" # <-- Change Rules here...
  7. service: your-local-service # <-- Change Service Name here...
  8. priority: 1000 # <-- (Optional) Change Routing Priority here...
  9. entryPoints:
  10. - web, websecure
  11. # -- Change Service Configuration here...
  12. services:
  13. your-local-service: # <-- Change Service Name here...
  14. loadBalancer:
  15. servers:
  16. - url: "http://your-local-service:port" # <-- Change Target Service URL here...