-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/`. |