[add] librephotos
This commit is contained in:
parent
ebc53109d4
commit
a23428dec3
44 changed files with 2123 additions and 0 deletions
44
librephotos-docker/k8s/ingress.yaml
Normal file
44
librephotos-docker/k8s/ingress.yaml
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# This ingress will make your photo site available to web browsers. For this to work, you'll need an ingress controller
|
||||
# already installed in your cluster: https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/
|
||||
# You should use TLS/SSL to protect the site. Either use cert-manager (https://cert-manager.io/) or something else.
|
||||
# If TLS/SSL is available, uncomment the annotation below, and the tls section.
|
||||
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: photos.example.com
|
||||
# annotations:
|
||||
# ingress.kubernetes.io/ssl-redirect: "true"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: photos.example.com
|
||||
http:
|
||||
paths:
|
||||
- pathType: Prefix
|
||||
path: "/"
|
||||
backend:
|
||||
service:
|
||||
name: proxy
|
||||
port:
|
||||
name: http
|
||||
# tls:
|
||||
# - hosts:
|
||||
# - photos.example.com
|
||||
# secretName: photos.example.com
|
||||
|
||||
---
|
||||
|
||||
# If you're using cert-manager, uncomment this to request a certificate that will be used by the ingress above.
|
||||
|
||||
# apiVersion: cert-manager.io/v1
|
||||
# kind: Certificate
|
||||
# metadata:
|
||||
# name: photos.example.com
|
||||
# spec:
|
||||
# secretName: photos.example.com
|
||||
# dnsNames:
|
||||
# - photos.example.com
|
||||
# issuerRef:
|
||||
# kind: ClusterIssuer
|
||||
# name: letsencrypt
|
||||
Loading…
Add table
Add a link
Reference in a new issue