[Delivers #58501092] Move config to env vars

This will make it easier to decouple configuration, deployment and process
management. Previous behaviour is maintained:

- All options have sensible defaults.
- There is no explicit syntax checking of values.
- Usage output with `-h`.