feat(server): define config schema using convict

Closes #3
I only really wanted env vars for the persistence layer, but feel free to suggest sensible values in your followup PR :beers: