Files
example-appstore/apps/kopia/docker-compose.json
2025-11-07 22:44:33 -06:00

91 lines
2.2 KiB
JSON

{
"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"
]
}
]
}