Unranked, systemd, crawls
31 points by ggpsv
31 points by ggpsv
i wonder if anyone has developed a system to translate docker compose into systemd run…
The format is really ubiquitous already, so much that a lot of my deployments are creating VMs that just run a single compose setup….
Yeah I was shopping around for something like this too before just translating the docker compose specs to .service-files. Didn't find anything that was particularly convincing. Most of the value of systemd (in my case) is from breaking out of the limitations of docker-compose.yml anyway, so it's likely a lost cause.
Though as I alluded to in the post, drop-ins should not be slept on.
You can e.g. put a config in
/etc/systemd/system/marginalia-.service.d/my-override.conf
and it will be injected in
/etc/systemd/system/marginalia-control@.service
/etc/systemd/system/marginalia-index@.service
/etc/systemd/system/marginalia-query@.service
etc.
Very good for avoiding duplication (along with parameterized units, as also shown above)