matrix-org / conference-bot

The conductor for your orchestra^Wconference
Apache License 2.0
44 stars 8 forks source link

Allow running the webserver portion standalone. #184

Closed Half-Shot closed 1 year ago

Half-Shot commented 1 year ago

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.

Half-Shot commented 1 year ago

I'm going to stick this behind #186 as it's likely going to be impacted by it.