Sign inSign up

francescou/compose-registry

By francescou

•Updated about 9 years ago

self hosted Docker Compose registry

Image
0

406

francescou/compose-registry repository overview

⁠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⁠ project. By using the OpenAPI-Spec⁠ 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⁠

Tag summary

Content type

Image

Digest

Size

27.1 MB

Last updated

about 9 years ago

docker pull francescou/compose-registry