diff options
-rw-r--r-- | README.md | 21 |
1 files changed, 21 insertions, 0 deletions
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/) |