Skip to content

Commit

Permalink
Add README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cdebost committed May 29, 2018
1 parent a28f354 commit a88eba5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# minit-service

Docker image that exposes a REST API for running minit commands.

To make this service useful, it should be given a volume to run its commands against. For example, a docker-compose setup that uses this service might have a `docker-compose.yml` with a snippet similar to the following:

```yaml
services:
minit:
image: montagestudio/minit-service
volumes:
my-projects:/home
```
With such a volume, the service's `/app`/, `/component`, etc. endpoints will create files in the volume so other services can see the changes.

### Documentation

To see the swagger documentation on the endpoints that this service supports, `npm install` the project and run `npm run doc`. This opens a browser pointing to the swagger page in `doc/`.

0 comments on commit a88eba5

Please sign in to comment.