{"id":16541083,"url":"https://github.com/spujadas/swagger-editor-docker","last_synced_at":"2025-03-04T04:40:36.036Z","repository":{"id":69954493,"uuid":"39154099","full_name":"spujadas/swagger-editor-docker","owner":"spujadas","description":"Docker image for Swagger Editor, which lets you edit Swagger API specifications in YAML inside your browser and preview documentation in real time.","archived":false,"fork":false,"pushed_at":"2015-07-15T18:36:09.000Z","size":100,"stargazers_count":7,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T08:52:02.325Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spujadas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-15T18:33:45.000Z","updated_at":"2023-04-26T16:02:32.000Z","dependencies_parsed_at":"2023-02-25T10:01:14.760Z","dependency_job_id":null,"html_url":"https://github.com/spujadas/swagger-editor-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spujadas%2Fswagger-editor-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spujadas%2Fswagger-editor-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spujadas%2Fswagger-editor-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spujadas%2Fswagger-editor-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spujadas","download_url":"https://codeload.github.com/spujadas/swagger-editor-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241787488,"owners_count":20020099,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T18:54:03.140Z","updated_at":"2025-03-04T04:40:36.009Z","avatar_url":"https://github.com/spujadas.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swagger Editor Docker image\n\n[Swagger Editor](http://editor.swagger.io/) lets you edit Swagger API specifications in YAML inside your browser and preview documentation in real time.\n\n### Contents\n\n - Usage\n\t - Start a container with Docker\n\t - Start a container with Docker Compose\n - Build\n\t - Build with Docker\n\t - Build with Docker Compose\n - About\n\n## Usage\n\nIn the instructions that follow, replace `\u003chttp-port\u003e` with the HTTP port you want Swagger Editor to be serve from to (e.g. `80` for the standard HTTP port if not already in use on the host).\n\n### Start a container with Docker\n\n\t$ sudo docker run --rm -p \u003chttp-port\u003e:8080 sebp/swagger-editor\n\n### Start a container with Docker Compose\n\nAdd the following lines in an existing or a new `docker-compose.yml` file:\n\n\tswaggereditor:\n\t  image: sebp/swagger-editor\n\t  ports:\n\t    - \"\u003chttp-port\u003e:8080\"\n\nThen start a Swagger Editor container with:\n\n\t$ sudo docker-compose up swaggereditor\n\n\n## Build\n\nFirst clone or download the [spujadas/swagger-editor-docker](https://github.com/spujadas/swagger-editor-docker) GitHub repository, open a shell in the newly created `swagger-editor-docker` directory, then build the image and run a container using Docker or Docker Compose, as explained below.\n\n### Build with Docker\n\nThis command will build the image:\n\n\t$ sudo docker build .\n\n### Build with Docker Compose\n\nBuild the image with this command:\n\n\t$ sudo docker-compose build\n\n## About\n\nWritten by [Sébastien Pujadas](http://pujadas.net), released under the [Apache 2 license](http://www.apache.org/licenses/LICENSE-2.0).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspujadas%2Fswagger-editor-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspujadas%2Fswagger-editor-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspujadas%2Fswagger-editor-docker/lists"}