2024-06-04 02:18:51 +00:00
|
|
|
# Simple compose runner
|
|
|
|
|
|
|
|
A simple docker compose runner in Go.
|
|
|
|
|
|
|
|
### Building
|
|
|
|
|
|
|
|
```
|
|
|
|
go build
|
|
|
|
```
|
|
|
|
|
|
|
|
### Usage
|
|
|
|
|
|
|
|
Run a compose in current directory
|
|
|
|
|
|
|
|
```
|
2024-06-04 03:09:12 +00:00
|
|
|
./main
|
2024-06-04 02:18:51 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Run a compose in current directory, verbose output
|
|
|
|
|
|
|
|
```
|
2024-06-04 03:09:12 +00:00
|
|
|
./main -v
|
2024-06-04 02:18:51 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Run a compose at specified location
|
|
|
|
|
|
|
|
```
|
2024-06-04 03:09:12 +00:00
|
|
|
./main /path/to/repo
|
2024-06-04 02:18:51 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Run a compose at specified location, verbose output
|
|
|
|
|
|
|
|
```
|
2024-06-04 03:09:12 +00:00
|
|
|
./main -v /path/to/repo
|
2024-06-04 02:18:51 +00:00
|
|
|
```
|