Add nodePort for immich
This commit is contained in:
@@ -40,6 +40,9 @@ var redis_srv core.Service
|
||||
func init() {
|
||||
meta = kube.NewMetadata(root.Immich.Name, Namespace)
|
||||
srv = meta.Service(root.Immich.Port)
|
||||
srv.Spec.Type = core.ServiceTypeNodePort
|
||||
srv.Spec.Ports[0].NodePort = int32(root.Immich.Public.NodePort)
|
||||
|
||||
uploads_pvc = meta.PVC()
|
||||
uploads_pvc.Spec.StorageClassName = new(root.TrueNASSTorageClassNFS)
|
||||
uploads_pvc.Spec.AccessModes = []core.PersistentVolumeAccessMode{core.ReadWriteMany}
|
||||
|
||||
@@ -37,7 +37,10 @@ var Immich = Service{
|
||||
Name: "immich",
|
||||
Image: "ghcr.io/immich-app/immich-server:v2.7.5",
|
||||
Port: 2283, // Server Port
|
||||
// PublicURL: "https://photos.danicos.me",
|
||||
Public: &Public{
|
||||
URL: "https://photos.danicos.me",
|
||||
NodePort: 30011,
|
||||
},
|
||||
}
|
||||
|
||||
var (
|
||||
|
||||
Reference in New Issue
Block a user