diff --git a/apps/homekit/docker-compose.yaml b/apps/homekit/docker-compose.yaml index aa4d3e5..8b45d66 100644 --- a/apps/homekit/docker-compose.yaml +++ b/apps/homekit/docker-compose.yaml @@ -22,8 +22,7 @@ services: # Basis-URL deiner bestehenden API (anpassen!) # Beispiel: UI/API im gleichen Docker-Netzwerk → http://api:8001 # Oder IP/Host im LAN → z.B. http://192.168.1.10:8001 - - API_BASE=http://172.19.1.11:8001 - + - API_BASE=http://homea2-api-internal.hottis.de # Optionales API-Token, falls deine API Auth nutzt - HOMEKIT_API_TOKEN= diff --git a/deployment/ingress.yaml b/deployment/ingress.yaml index c3dae69..e5bfcb8 100644 --- a/deployment/ingress.yaml +++ b/deployment/ingress.yaml @@ -59,4 +59,22 @@ spec: services: - name: api port: 80 - +--- +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: api-internal +spec: + ingressClassName: traefik-internal + rules: + - host: homea2-api-internal.hottis.de + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: api + port: + number: 80