commit d6c3f6aa9b715ef0e33ada52e6febee0f05575db Author: askiiart Date: Sun Dec 11 22:15:32 2022 -0600 Initial commit diff --git a/.config b/.config new file mode 100644 index 0000000..43f3262 --- /dev/null +++ b/.config @@ -0,0 +1,2 @@ +compose-path=/path/to/compose-files/ +exclude-containers=containers,to-exclude \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..6256427 --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# Docker Composer + +This is a simple program to manage docker containers. It works similarly to Umbrel, but it is not limited to Umbrel. It can be used to manage any docker container. + + +## How to use +- **Note:** All scrips must be run in the same directory as the `.config` file. +- If you want to rebuild your containers on boot, you can run `composer.py` on boot +- If you want to rebuild your containers on demand, you can run `rebuild.py` manually +- If you just want to do basic management, like stopping, starting, removing docker containers, etc, then use `basic-management.py`. It's essentially an interactive wrapper for the basics of docker. + + +## Installation + +I'll get to this later once this program is actually usable. + + +## Usage + +.config parameters: +- `compose-path`: The path to the folder containing the folders for each docker container - the folder for each container includes a `docker-compose.yml` file. +- `exclude-containers`: A list of containers to exclude from being managed by the program. This will stop the program from doing **anything** to those containers. + + +## Dev Notes +- Maybe later expand this to an interactive docker manager. diff --git a/scripts/basic-management.py b/scripts/basic-management.py new file mode 100644 index 0000000..e69de29 diff --git a/scripts/composer.py b/scripts/composer.py new file mode 100644 index 0000000..e69de29 diff --git a/scripts/rebuild.py b/scripts/rebuild.py new file mode 100644 index 0000000..e69de29