change clusters to backup mode

This commit is contained in:
2025-12-13 09:15:34 -05:00
parent 8ff38d1cbf
commit f12e27c5c6
2 changed files with 17 additions and 17 deletions

View File

@@ -21,17 +21,17 @@ spec:
login: true
bootstrap:
initdb:
database: immich
owner: immich
secret:
name: immich-postgres-user
postInitSQL:
- CREATE EXTENSION IF NOT EXISTS "vchord" CASCADE;
- CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE;
# initdb:
# database: immich
# owner: immich
# secret:
# name: immich-postgres-user
# postInitSQL:
# - CREATE EXTENSION IF NOT EXISTS "vchord" CASCADE;
# - CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE;
# NOTE: uncomment this and commend the above initdb when recovering
# recovery:
# source: immich-postgres
recovery:
source: immich-postgres
storage:
size: 8Gi