attempt 1 at Kopia App Store

This commit is contained in:
cody conder
2025-11-07 22:44:33 -06:00
parent f0792907f7
commit f549f17053
2 changed files with 129 additions and 0 deletions

39
apps/kopia/config.json Normal file
View File

@@ -0,0 +1,39 @@
{
"name": "kopia",
"min_tipi_version": "4.5.0",
"available": true,
"port": 51515,
"exposable": true,
"dynamic_config": true,
"id": "kopia",
"description": "",
"tipi_version": 1,
"version": "20251023.0.52914",
"categories": ["utilities"],
"short_desc": "",
"author": "kopia",
"dynamic":true,
"source": "https://github.com/kopia/kopia",
"website": "https://kopia.io",
"form_fields": [
{"type":"text",
"label":"username",
"required":true,
"env_variable":"USER"},
{"type":"text",
"label":"TZ",
"required":true,
"env_variable":"TZ"},
{"type":"password",
"label":"Password",
"required":true,
"env_variable":"KOPIA_PASSWORD"},
{"type":"random",
"label":"FingerPrint",
"max":64,
"min":64,
"required":false,
"env_variable":"KOPIA_SERVER_FINGERPRINT"}
],
"supported_architectures": ["amd64"]
}

View File

@@ -0,0 +1,90 @@
{
"schemaVersion": 2,
"services": [
{
"name": "kopia",
"image": "kopia/kopia:latest",
"command": [
"server",
"start",
"--disable-csrf-token-checks",
"--tls-cert-file=/app/certs/my.cert",
"--tls-key-file=/app/certs/my.key",
"--address=0.0.0.0:51515",
"--server-username=$USER",
"--server-password=$KOPIA_PASSWORD"
],
"environment": [ ],
"internalPort": 51515,
"volumes": [
{
"hostPath": "/home/ccondor/kopia/certs",
"containerPath": "/app/certs",
"readOnly": false,
"shared": false,
"private": false
},
{
"hostPath": "/home/ccondor/kopia/config",
"containerPath": "/app/config",
"readOnly": false,
"shared": false,
"private": false
},
{
"hostPath": "/home/ccondor/kopia/cache",
"containerPath": "/app/cache",
"readOnly": false,
"shared": false,
"private": false
},
{
"hostPath": "/home/ccondor/kopia/logs",
"containerPath": "/app/logs",
"readOnly": false,
"shared": false,
"private": false
},
{
"hostPath": "/mnt/Backups/Kopia",
"containerPath": "/repository",
"readOnly": false,
"shared": false,
"private": false
},
{
"hostPath": "/home/ccondor",
"containerPath": "/data/ccondor",
"readOnly": true,
"shared": false,
"private": false
},
{
"hostPath": "/mnt/ext",
"containerPath": "/data/ext",
"readOnly": true,
"shared": false,
"private": false
},
{
"hostPath": "/media/Cinema",
"containerPath": "/data/Cinema",
"readOnly": true,
"shared": false,
"private": false
}
],
"hostname": "kopia-server",
"devices": [
"/dev/fuse:/dev/fuse:rwm"
],
"privileged": true,
"capAdd": [
"SYS_ADMIN"
],
"securityOpt": [
"apparmor:unconfined"
]
}
]
}