apiVersion: traefik.io/v1alpha1 kind: IngressRoute metadata: name: finlab namespace: ai spec: entryPoints: - web routes: # /console → console Claude Code (ttyd sert sous ce préfixe via -b /console). - match: Host(`finance.lab.local`) && PathPrefix(`/console`) kind: Rule priority: 20 middlewares: - name: finlab-auth services: - name: finlab port: 7681 # Tout le reste → dashboard web (graphiques, portefeuille, watchlists, actions). - match: Host(`finance.lab.local`) kind: Rule priority: 10 middlewares: - name: finlab-auth services: - name: finlab port: 8800