{ "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=${KOPIA_PASSWORD}" ], "environment": [ { "key": "KOPIA_SERVER_FINGERPRINT", "value": "8b8129461e17b49256fb00dbd49da01c7927c6df96a73ea412580b2f63ccb682" }, { "key": "TZ", "value": "America/Chicago" } ], "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" ] } ] }