diff options
author | Aaditya Dhruv <[email protected]> | 2025-04-22 17:29:46 -0500 |
---|---|---|
committer | Aaditya Dhruv <[email protected]> | 2025-05-01 20:19:51 -0500 |
commit | 55298a51cb0cc5e68c5a43869f2f32b899d3a622 (patch) | |
tree | 50d271288502bcff6f0a5133ce0839d883ee8ef7 /roles/photos/files/core/templates/ingress.yaml |
init
Diffstat (limited to 'roles/photos/files/core/templates/ingress.yaml')
-rw-r--r-- | roles/photos/files/core/templates/ingress.yaml | 33 |
1 files changed, 33 insertions, 0 deletions
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 |