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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file docker-compose-reloaded-0.1.tar.gz.

File metadata

  • Download URL: docker-compose-reloaded-0.1.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for docker-compose-reloaded-0.1.tar.gz
Algorithm Hash digest
SHA256 4c85aa6305d37587a6f4f0bc9420afc09d41fb7cb95362aa07841e2d1a7e2811
MD5 17c7a8300172df34289e0b141a001bdf
BLAKE2b-256 c537c8f14868941ba57a7f2608815a4bcca77e1b37904f6e710e92f6a2a012b6

See more details on using hashes here.

File details

Details for the file docker_compose_reloaded-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for docker_compose_reloaded-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c6c36a9ba80b964657a9fd37017222d238002a99e51db27316342ddaa098a5e0
MD5 94315bc43369e5a1b8a444e8f071651a
BLAKE2b-256 799beec307a80b276dd7699b045dafd3f81e66274205c4b6c57d66186a330f67

See more details on using hashes here.

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