One of the biggest issues I've ever had amongst a bunch of deployed mirth instances was the use of the derby database. Last I checked MirthCorp didn't recommend using it in production, and I've certainly had issues running it there myself (found out the hard way). This has been years ago, and maybe it's gotten better, but for something like this we should probably expose a way to configure the database via ENV, or possibly some other method that uses etcd or something? At the very least it looks like sqlite is supported, which I'd be more apt to trust than derby.
One of the biggest issues I've ever had amongst a bunch of deployed mirth instances was the use of the derby database. Last I checked MirthCorp didn't recommend using it in production, and I've certainly had issues running it there myself (found out the hard way). This has been years ago, and maybe it's gotten better, but for something like this we should probably expose a way to configure the database via ENV, or possibly some other method that uses etcd or something? At the very least it looks like sqlite is supported, which I'd be more apt to trust than derby.