Skip to main content

A python CLI tool to update stacks on event triggers

Project description

docker-compose-reloaded

A python CLI tool to update stacks on event triggers like MQTT

[!WARNING]
This project is just out of the oven and will introduce some breaking changes soon.

Installation

The script can be installed via pip:

pip install docker-compose-reloaded

Configuration

[!NOTE] The default config path is /etc/docker-compose-reloaded/config.json. But you can change it with the -f option.

You can give it a quick start and use the example config, which will restart some docker stacks if certain images are updated. The event trigger in this exampel is an MQTT message to one of the subscribed topics.

List of configuration options

Option Long Option Description
-f --file Config file path
-r --reload Tims [s] to check for config changes

Fire it up!

With the config present, you can just run

dcr run

or (if you have a custom config location)

dcr run -f /path/to/your/config.json

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docker-compose-reloaded-0.1.tar.gz (15.0 kB view hashes)

Uploaded Source

Built Distribution

docker_compose_reloaded-0.1-py3-none-any.whl (15.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page