You’ve done nothing wrong so far While we do advocate creating separate databases, the Global Inbox is a database and many people just use it.
You need to determine what your sync needs are but we generally advocate using a Bonjour sync on your local network. This is a direct-connection sync between your devices with one device (usually a Mac) acting as a server.