Go to file
askiiart bf25c50e07
Merge pull request #8 from askiiart/dev
Ignore hidden (.*) directories
2023-01-03 10:58:07 -05:00
docker-data Add docker-data/ and related stuff 2022-12-14 13:32:40 -06:00
.gitignore Ignore docker_data/ 2022-12-15 09:57:39 -06:00
basic_management.py Fix error handling & add custom info printer 2022-12-15 17:39:32 -06:00
composer.py Ignore hidden directories (e.g. .git) 2023-01-03 09:50:31 -06:00
docker-composer.conf Not super polished, but EVERYTHING WORKS! 2022-12-15 16:08:26 -06:00
docker_wrapper.py Major improvements in error handling, & small fix 2022-12-15 17:38:51 -06:00
LICENSE Add Apache License 2.0 2022-12-16 21:23:47 -06:00
re_compose.py Merge https://github.com/askiiart/docker-composer 2023-01-03 09:57:19 -06:00
README.md Update README.md 2022-12-29 23:12:53 -06:00
requirements.txt Update requirements.txt 2022-12-15 17:42:49 -06:00

Docker Composer

This is a simple program to manage docker containers. It works similarly to Umbrel's scripts, but is not limited to Umbrel. It's really just for convenience.

How to use

  • Note: All scrips must be run in the same directory as the docker-composer.conf file.
  • If you want to re-compose your containers on boot, you can run composer.py on boot
  • If you want to re-compose your containers on demand, you can run re_compose.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

Just put these scripts somewhere, and run them as needed. Remember to edit the docker-composer.conf file to your needs - parameters below, in Usage

Usage

docker-composer.conf 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 scripts (except basic_management.py) from doing anything to those containers.

Notes:

  • The folders must have the same name as their respective docker containers
  • Remember to run the script as a user that can access Docker engine

Status

  • All scripts are complete and working! Feel free to use this now.