Configuration schema rework
I was wondering if we wanted to rework the api config schema, like start having a single namespace for all what is front related. I see a lot of different namespaces, like spa or front or web. As a newcomer I found this confusing.
I would like to propose renaming those config options (with backward compatibility) and add deprecation warning for the old config keys.
There is also some other config that could use a new names that match a general schema.
I also would like to add some sensible defaults values, so that funkwhale could run without any (almost) configuration. This should help also for dev/testing setup that currently have to define a lot of values that could be set as default.
For example: the DB DSN could be built from exploded parts (host, port, username, password,...) and those parts could have good defaults: Host: localhost Port: 5432 (is that the postgresl default port ?) Username: funkwhale Password: funkwhale Database: funkwhale
This means for the default docker compose setup, we would only need to change the host value. Which lines up with the docker posgres_user and posgres_password env variables.
For advanced user that do require a dsn, they can still use the db dsn env var direclty