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-foption.
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
Release files for docker-compose-reloaded 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| docker-compose-reloaded-0.1.tar.gz | 15.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| docker_compose_reloaded-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.5 kB
Release files / docker-compose-reloaded-0.1.tar.gz
| Download URL | docker-compose-reloaded-0.1.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c85aa6305d37587a6f4f0bc9420afc09d41fb7cb95362aa07841e2d1a7e2811
|
|
BLAKE2b-256 checksum How to use checksums |
c537c8f14868941ba57a7f2608815a4bcca77e1b37904f6e710e92f6a2a012b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / docker_compose_reloaded-0.1-py3-none-any.whl
| Download URL | docker_compose_reloaded-0.1-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6c36a9ba80b964657a9fd37017222d238002a99e51db27316342ddaa098a5e0
|
|
BLAKE2b-256 checksum How to use checksums |
799beec307a80b276dd7699b045dafd3f81e66274205c4b6c57d66186a330f67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|