Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/francescou/compose-registry
self hosted Docker Compose registry
https://github.com/francescou/compose-registry
Last synced: 5 days ago
JSON representation
self hosted Docker Compose registry
- Host: GitHub
- URL: https://github.com/francescou/compose-registry
- Owner: francescou
- License: mit
- Created: 2017-08-25T08:24:24.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-25T11:52:47.000Z (about 7 years ago)
- Last Synced: 2024-08-01T12:33:11.459Z (3 months ago)
- Language: JavaScript
- Size: 21.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - francescou/compose-registry - self hosted Docker Compose registry (others)
README
Compose Registry
===Disclaimer: This is a work in progress and software is still in alpha stage.
## Running the server
To run the server, run:```
docker run --rm \
--name compose-registry \
--volume $(pwd)/demo-projects/:/projects/:ro \
--publish 8080:8080 \
--read-only \
francescou/compose-registry:0.2
```To view the Swagger UI interface:
```
open http://localhost:8080/docs
```## Overview
This server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) from a remote server, you can easily generate a server stub.### How to generate a python (Flask) server
```
docker run --rm \
-v $(pwd)/python-flask/:/output/ \
-v $(pwd)/api/:/data/:ro \
swaggerapi/swagger-codegen-cli \
generate -l python-flask -i /data/swagger.yaml -o /output/
```documentation to generate a server stub for a couple different frameworks: [Server stub generator HOWTO](https://github.com/swagger-api/swagger-codegen/wiki/Server-stub-generator-HOWTO)