Files
pfandsystem-demo/traefik/dynamic/local-backend.yml

31 lines
790 B
YAML
Raw Normal View History

http:
routers:
# Backend API Router (zeigt auf lokales Backend)
pfandsystem-api-local:
rule: "Host(`pfandsystem.backdigital.de`) && PathPrefix(`/api`)"
service: pfandsystem-api-local
entryPoints:
- web
- websecure
tls:
certResolver: letsencrypt
priority: 100
# Backend Uploads Router
pfandsystem-uploads-local:
rule: "Host(`pfandsystem.backdigital.de`) && PathPrefix(`/uploads`)"
service: pfandsystem-api-local
entryPoints:
- web
- websecure
tls:
certResolver: letsencrypt
priority: 100
services:
# Backend Service (zeigt auf Docker-Host via Bridge)
pfandsystem-api-local:
loadBalancer:
servers:
- url: "http://172.17.0.1:3001"