معرفی شرکت ها


compose-companion-0.2.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A companion for Docker Compose
ویژگی مقدار
سیستم عامل -
نام فایل compose-companion-0.2.2
نام compose-companion
نسخه کتابخانه 0.2.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Natália Fonseca
ایمیل نویسنده natalia@nataliafonseca.dev
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/compose-companion/
مجوز -
# Compose Companion This is a little CLI tool created for my home server. It aims to make it easy to configure and document scripts that should run before and/or after the server containers on docker compose go up or down. ## Scrips File The app will read the scripts from a yaml file in the following format: ```yaml # compose-companion.yaml x-before-up: sonarr: - echo this will run before sonarr startup - echo this too will run before sonarr startup, after the previous one radarr: - echo this will run before radarr startup - echo this too will run before radarr startup, after the previous one x-after-up: sonarr: - echo this will run after sonarr startup - echo this too will run after sonarr startup, after the previous one radarr: - echo this will run after radarr startup - echo this too will run after radarr startup, after the previous one x-before-down: sonarr: - echo this will run before sonarr shutdown - echo this too will run before sonarr shutdown, after the previous one radarr: - echo this will run before radarr shutdown - echo this too will run before radarr shutdown, after the previous one x-after-down: sonarr: - echo this will run after sonarr shutdown - echo this too will run after sonarr shutdown, after the previous one radarr: - echo this will run after radarr shutdown - echo this too will run after radarr shutdown, after the previous one ``` The container keys should match the ones from `docker-compose.yaml` file. The app will look for a file named `compose-companion.yaml` on the folder it's first run, if that's not there it'll ask you to inform the file path manually. As the top-level keys start with `x-`, you can use the `docker-compose.yaml` file itself, if you wish, and these settings will be properly ignored by docker compose. ## Commands For a list of command, run `compose --help` or simply `compose`. For details on each command, run `compose [command] --help`.


نیازمندی

مقدار نام
>=0.7.0,<0.8.0 typer
>=6.0,<7.0 pyyaml
>=0.21.0,<0.22.0 python-dotenv
>=1.1.1,<2.0.0 yaml-env-var-parser
>=12.6.0,<13.0.0 rich


زبان مورد نیاز

مقدار نام
>=3.10,<4.0 Python


نحوه نصب


نصب پکیج whl compose-companion-0.2.2:

    pip install compose-companion-0.2.2.whl


نصب پکیج tar.gz compose-companion-0.2.2:

    pip install compose-companion-0.2.2.tar.gz