Hello,

I just tried again using a separate container for the database and it
seems to work. For some reason I didn't think it was supported. Have you
tried? Are there any known issues using an external DB?

I haven't tried yet but this should be working. You need to setup your external database with the right user and database. Then update /etc/lava-server/instance.conf to point to the right database.
The lava-server container will still run postgresql process that you won't use.

This solves another problem that I had with the official server
container: Sometimes (often) on subsequent starts, the DB migration
startup step would happen before postgres had fully started, causing
startup to fail.
That's a bug then: https://git.lavasoftware.org/lava/pkg/docker/issues/6


Rgds

--
Rémi Duraffort
LAVA Team