local postgres
This commit is contained in:
		
							
								
								
									
										21
									
								
								apps/immich/postgres.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								apps/immich/postgres.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
|  | ||||
| apiVersion: postgresql.cnpg.io/v1 | ||||
| kind: Cluster | ||||
| metadata: | ||||
|   name: immich-postgres | ||||
| spec: | ||||
|   instances: 1 | ||||
|   imageName: ghcr.io/cloudnative-pg/postgresql:15 | ||||
|  | ||||
|   bootstrap: | ||||
|     initdb: | ||||
|       owner: immich | ||||
|       database: immich | ||||
|       secret:  | ||||
|         name: postgres-password | ||||
|  | ||||
|  | ||||
|   storage: | ||||
|     size: 1Gi | ||||
|     storageClass: nfs-client | ||||
|  | ||||
		Reference in New Issue
	
	Block a user