Skip to content

Instantly share code, notes, and snippets.

@marcosricardoss
Last active March 11, 2021 23:18
Show Gist options
  • Save marcosricardoss/ec7878f68917bf52e19b2410f62a7549 to your computer and use it in GitHub Desktop.
Save marcosricardoss/ec7878f68917bf52e19b2410f62a7549 to your computer and use it in GitHub Desktop.
The Swagger Editor is an open source editor to design, define and document RESTful APIs in the Swagger Specification
version: '3.2'
services:
swagger-editor:
container_name: swagger-editor
restart: always
image: swaggerapi/swagger-editor
ports:
- "8080:8080"
environment:
SWAGGER_FILE: /tmp/openapi/openapi.yaml
volumes:
- "./openapi:/tmp/openapi"
docker container run --name=swagger-editor --restart=always -d -p 8080:8080 swaggerapi/swagger-editor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment