From 55298a51cb0cc5e68c5a43869f2f32b899d3a622 Mon Sep 17 00:00:00 2001 From: Aaditya Dhruv Date: Tue, 22 Apr 2025 17:29:46 -0500 Subject: init --- roles/photos/files/core/templates/ingress.yaml | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 roles/photos/files/core/templates/ingress.yaml (limited to 'roles/photos/files/core/templates/ingress.yaml') diff --git a/roles/photos/files/core/templates/ingress.yaml b/roles/photos/files/core/templates/ingress.yaml new file mode 100644 index 0000000..c883185 --- /dev/null +++ b/roles/photos/files/core/templates/ingress.yaml @@ -0,0 +1,33 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: immich + annotations: + cert-manager.io/cluster-issuer: "letsencrypt-prod" +spec: + ingressClassName: traefik + tls: + - hosts: + - photos.aadityadhruv.com + secretName: immich-tls + rules: + - host: photos.home + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: immich-server + port: + number: 2283 + - host: photos.aadityadhruv.com + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: immich-server + port: + number: 2283 -- cgit