From e4c72a2f3b84d218b2666f0989cddb0fe21366ea Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Mon, 3 May 2021 14:29:39 -0400 Subject: Add README --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..90fb9d6 --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# Composer + +A simple C program to make managing several docker-compose files easier. + +## Usage/Examples + +Composer finds your `docker-compose.yaml` file as well as any `docker-compose.*.yaml` files and passes them to `docker-compose`. + +`composer up -d` and `docker-compose -f docker-compose.yaml [-f docker-compose.*.yaml] up -d` are equivalent. + +## Deployment + +To deploy this project run `sudo make install`. This will compile and install the composer binary. You can then run any docker-compose command with composer. + +## Environment Variables + +Composer passes the current environment to docker-compose when run. As such, you can run `COMPOSE_VARIABLE=value composer` and expect the same behavior as `COMPOSE_VARIABLE=value docker-compose`. + +## License + +[MIT](https://choosealicense.com/licenses/mit/) -- cgit v1.2.3