pSpitzner / beets-flask

An opinionated docker container for a web-interface around the music organizer beets
MIT License
31 stars 2 forks source link

move redis worker start to a python script in backend #36

Closed pSpitzner closed 1 month ago

pSpitzner commented 1 month ago

we have multiple ways to set configs:

currently we only parse the beets config in our entrypoint.

thus, the num_workers need to be parsed from there, as the rest of the config. smoothest way is to put this into a small python inti script, that parses all the configs, like our main module, and launch this once from the entry point.

cf. https://gitlab.gwdg.de/irp/snip/-/blob/main/packages/python/pyproject.toml?ref_type=heads#L40