immich ingress and service

This commit is contained in:
2024-04-23 19:46:40 +02:00
parent f5fa423495
commit 4ce91205b8
4 changed files with 33 additions and 0 deletions

@ -0,0 +1,17 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: immich
namespace: traefik
spec:
entryPoints:
- web-local
- websecure-local
- websecure-remote
routes:
- match: Host(`photos.steffenillium.de`) || Host(`immich.steffenillium.de`)
kind: Rule
services:
- name: immich
port: http

@ -0,0 +1,3 @@
resources:
- ingress.yaml
- service.yaml

@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: immich
spec:
type: ExternalName
externalName: 192.168.178.2
ports:
- port: 80
targetPort: 8200
protocol: TCP
name: http

@ -3,3 +3,4 @@ resources:
- fritz
- adguard
- wgui
- immich