
Security News
TC39 Advances 11 Proposals for Math Precision, Binary APIs, and More
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
.. image:: https://img.shields.io/docker/pulls/funkyfuture/deck-chores.svg :target: https://hub.docker.com/r/funkyfuture/deck-chores/
.. image:: https://img.shields.io/pypi/v/deck-chores.svg :target: https://pypi.org/project/deck-chores/
A job scheduler for Docker containers, configured via container labels.
amd64
, arm64
and arm
platforms
(the latter are currently not provided for download)Let's say you want to dump the database of a Wordpress once a day. Here's a docker-compose.yml
that defines a job that will be handled by deck-chores:
.. code-block:: yaml
version: "3.7"
services:
wordpress:
image: wordpress
mysql:
image: mariadb
volumes:
- ./database_dumps:/dumps
labels:
deck-chores.dump.command: sh -c "mysqldump --all-databases > /dumps/dump-$$(date -Idate)"
deck-chores.dump.interval: daily
It is however recommended to use scripts with a proper shebang for such actions. Their outputs to
stdout
and stderr
as well as their exit code will be logged by deck-chores.
The final release is supposed to receive monthly updates that includes updates of all updateable dependencies. If one is skipped, don't worry. When a second maintenance release is skipped, feel free to open an issue to ask what the status is.
You can always build images upon an up-to-date base image with::
make build
When running on a cluster of Docker Swarm <https://docs.docker.com/engine/swarm/>
_
nodes, each deck-chores
instance can only observe the containers on the
node it's running on, and hence only restrict to run one job per service within
the node's context.
It wouldn't be as charming to write this piece of software without these projects:
APScheduler <https://apscheduler.readthedocs.io>
_ for managing jobscerberus <http://python-cerberus.org>
_ for processing metadatadocker-py <https://docker-py.readthedocs.io>
_ for Docker interactionflake8 <http://flake8.pycqa.org/>
, mypy <http://mypy-lang.org>
,
pytest <http://pytest.org>
_ and tox <https://tox.readthedocs.io>
_ for testingPython <https://www.python.org>
_FAQs
Job scheduler for Docker containers, configured via container labels.
We found that deck-chores demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.