Here's something I have been hacking on: https://github.com/gdcc/jdbc-conffile-driver
This hacky workaround allows us to use a TOML file to configure Dataverse from a single file (at least all JVM options that use MicroProfile Config already), even distributing changes to the file into the running application.
I will create an issue and a PR to add this to the container base image as an optional feature. I expect this to be very useful for container usage. (For example: automatic updates of JVM options for a config file mounted from a K8s ConfigMap...)
To quote https://github.com/payara/Payara/issues/6822#issuecomment-2384116325 : TOML config source targeted for release in 6.2024.11!
Fantastic! :tada:
Thanks for creating this issue: Feature Request: Enabling configuration of Dataverse using simple files (TOML) #10684
I added "TOML" to the title. I hope you don't mind.
I just left a comment at https://github.com/IQSS/dataverse/issues/10684#issuecomment-2555593540
Mostly I wanted to communicate that the version of Payara we need has been released.
But then I wrote a bit more and realized I'm confused if we still need https://github.com/gdcc/jdbc-conffile-driver or not.
Nice chatting with @Oliver Bertuch and @Jan Range about this today.
Is KSON supported? https://ochagavia.nl/blog/configuration-files-are-user-interfaces/
Nope. Also, KSON sounds like https://xkcd.com/927 to me.
Never heard of it before, not sure why it's necessary.
I get that some people hate YAML when the tree of nodes gets deep. It can get tricky to get the indents right. But why not go for some other format then (like TOML)? And there's https://json5.org/ which has been around for a long time now... So if you hate YAML and JSON (which is perfectly understandable for a lot of reasons), there's already plenty of alternatives, which brings me back to https://xkcd.com/927
They literally invented KSON in 2025. :shrug:
I'm sure TOML will be fine. Way better than editing domain.xml!
Last updated: Oct 30 2025 at 05:14 UTC