WIKIJS Question

The requarks image allows the usage of environment variables to specify an external database whereas Linuxserver_io’s image allows to mount the config and data folders. In that sense, I am assuming that the Linuxserver_io’s image installs both the database and wikijs in the container. Am I correct in assuming this and if I am right, is there a way for me to instead use an external database?

Thanks