immich ingress and service
This commit is contained in:
17
infrastructure/03-traefik/foreign/immich/ingress.yaml
Normal file
17
infrastructure/03-traefik/foreign/immich/ingress.yaml
Normal file
@ -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
|
12
infrastructure/03-traefik/foreign/immich/service.yaml
Normal file
12
infrastructure/03-traefik/foreign/immich/service.yaml
Normal file
@ -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
|
- fritz
|
||||||
- adguard
|
- adguard
|
||||||
- wgui
|
- wgui
|
||||||
|
- immich
|
||||||
|
Reference in New Issue
Block a user