My solution for syncing keepass between Linux and iPhone (works with KeePassDX on Android too) using Nextcloud:
My Linux computer is running Incus, and one container is my Nextcloud server.
I have created a folder ~/nextcloud where my keepass.kdbx is located.
KeePassXC is using this file directly and since it's a local file it's always accessible.
I have mounted ~/nextcloud inside the Incus Nextcloud container as /data.
In Nextcloud I have monuted /data as a folder for my Nextcloud user.
In KeePassium in iPhone I have set it up to use WebDAV to my Nextcloud server and then choosen the keepass.kdbx file.
(This way I can also easily share any file between Linux and iPhone)
(I know there are other ways to do this, but since I want to always have access to keepass.kdbx on Linux even if Nextcloud is not running this solution best fits my needs)
#KeePass #KeePassXC #KeePassDX #KeePassium #Incus #Nextcloud #Linux #iPhone #Android #WebDAV #PasswordManager #PasswordManagers #Passwords