fix(oci): preserve PocketBase initial data on first install

This commit is contained in:
VAIO73
2026-09-27 13:28:39 +02:00
parent 15692fe031
commit 6e7be4c029
3 changed files with 210 additions and 2 deletions
+34
View File
@@ -1,4 +1,38 @@
{
"container_contract": {
"volumes": [
{
"id": "volume-0",
"container_path": "/pocketbase/pb_data",
"compose_source_example": "/DATA/AppData/$AppID/pb_data",
"read_only": false,
"required": true,
"installation_choice": [
"managed-volume",
"host-bind"
],
"default": "managed-volume",
"managed_volume": {
"backup": true,
"default_size_gb": 8
}
}
]
},
"proxmox": {
"installer_profile": {
"volume_seeds": [
{
"container_path": "/pocketbase/pb_data",
"source_path": "/pocketbase/pb_data",
"mount_types": [
"managed-volume",
"host-bind"
]
}
]
}
},
"first_run": {
"credentials": [
{