compose-scheduler
compose-scheduler copied to clipboard
Problem with restarted services
The nice feature of docker compose is restarting of only modified services. But the scheduler needs a restart after every service it observes. It tries to run the "original" service every time. To fix it, all theese services need to be included in its depends_on. The labels and depends store redundant information.
The scheduler should look for a container at the desired time, not at startup.