mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 04:59:54 +00:00
immich cnpg import
This commit is contained in:
@@ -28,13 +28,19 @@ spec:
|
|||||||
- CREATE EXTENSION IF NOT EXISTS "vectors";
|
- CREATE EXTENSION IF NOT EXISTS "vectors";
|
||||||
- CREATE EXTENSION IF NOT EXISTS "cube" CASCADE;
|
- CREATE EXTENSION IF NOT EXISTS "cube" CASCADE;
|
||||||
- CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE;
|
- CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE;
|
||||||
|
import:
|
||||||
|
type: microservice
|
||||||
|
databases:
|
||||||
|
- immich
|
||||||
|
source:
|
||||||
|
externalCluster: immich-postgresql
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
size: 8Gi
|
size: 8Gi
|
||||||
storageClass: longhorn
|
storageClass: longhorn
|
||||||
|
|
||||||
externalClusters:
|
externalClusters:
|
||||||
- name: cluster-pg96
|
- name: immich-postgresql
|
||||||
connectionParameters:
|
connectionParameters:
|
||||||
# Use the correct IP or host name for the source database
|
# Use the correct IP or host name for the source database
|
||||||
host: "immich-postgresql.immich.svc.cluster.local:5432"
|
host: "immich-postgresql.immich.svc.cluster.local:5432"
|
||||||
|
|||||||
Reference in New Issue
Block a user