aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2021-05-03 14:29:39 -0400
committerGalen Guyer <galen@galenguyer.com>2021-05-03 14:29:39 -0400
commite4c72a2f3b84d218b2666f0989cddb0fe21366ea (patch)
tree0c093e16326f31221c1b09cbbe14d1c99b2f164a
parent559e72046e0ced39fd7a45d904beb41483e5d1f4 (diff)
Add README
-rw-r--r--README.md21
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/)