I'm trying to setup a test database environment for Docker and noticed that the database name is dataverse. I guess for the development environment is doesn't matter but I see lots of instances of dvndb as a database name in the main repository code. I'm just curious where this database name gets set for containers?
I think it comes from here: https://github.com/IQSS/dataverse/blob/develop/src/main/resources/META-INF/microprofile-config.properties#L35
kuhlaid has marked this topic as resolved.
@Philip Durbin no it's not coming from that file. Oh how I wish it would work that way. These defaults are defined here: https://github.com/IQSS/dataverse/blob/1f9e10cfc8acb85780db641d1a6644eb62545b05/src/main/java/edu/harvard/iq/dataverse/util/DataSourceProducer.java#L24
The reason for this is the way how Payara works
We cannot have read properties from the WAR shipped microprofile-config.properties file when the @DataSourceDefinition is being handled.
Right, right, @DataSourceDefinition. How soon I forget! Thanks!
rg dataverse.db.name :wink:
I wonder if we should mention this stuff in our docs for the base image. Or somewhere in the Container Guide (or maybe Dev Guide).
I'm sorry, mention what exactly?
That we're using @DataSourceDefinition. Maybe in the dev guide.
Last updated: Oct 30 2025 at 05:14 UTC