This is currently a draft as I work on the interdependencies between the backend parts and the frontend, and figuring out how to handle both.
I had quite a few challenges actually getting this going on my laptop, so I made a few bold decisions which are documented in my commits. Nothing hair raising, but quite a few major bumps as our dependencies had started to rot. Ideally this would land in a different PR, but I'd rather not overcomplicate things at present.
The new system works by specifying a runmode in your config or env vars, which allows the service to either run "normally" or in a "webserver" configuration. This means that when we run this in a kube environment, we just supply a different env.
This is currently a draft as I work on the interdependencies between the backend parts and the frontend, and figuring out how to handle both.
I had quite a few challenges actually getting this going on my laptop, so I made a few bold decisions which are documented in my commits. Nothing hair raising, but quite a few major bumps as our dependencies had started to rot. Ideally this would land in a different PR, but I'd rather not overcomplicate things at present.
The new system works by specifying a runmode in your config or env vars, which allows the service to either run "normally" or in a "webserver" configuration. This means that when we run this in a kube environment, we just supply a different env.