aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 90fb9d60e746da455fb0addd4c8aa66f21ffaa7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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/)