Files
example-appstore/apps/kopia/docker-compose.json
2025-11-07 23:36:04 -06:00

108 lines
2.6 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:${APP_PORT}",
"--server-username=${USER}",
"--server-password=${PASSWORD}"
],
"environment": [
{
"key": "KOPIA_PASSWORD",
"value": "${PASSWORD}"
},
{
"key": "KOPIA_SERVER_FINGERPRINT",
"value": "KOPIA_SERVER_FINGERPRINT"
},
{
"key": "TZ",
"value": "${TZ}"
},
{
"key": "USER",
"value": "${USER}"
}
],
"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"
]
}
]
}