https://github.com/crazyoptimist/swagger-ui-docker
Hands-on swagger-ui deployment using docker-compose
https://github.com/crazyoptimist/swagger-ui-docker
Last synced: 5 months ago
JSON representation
Hands-on swagger-ui deployment using docker-compose
- Host: GitHub
- URL: https://github.com/crazyoptimist/swagger-ui-docker
- Owner: crazyoptimist
- Created: 2020-07-30T16:59:16.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-30T17:07:30.000Z (almost 6 years ago)
- Last Synced: 2025-02-05T22:59:02.248Z (over 1 year ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Swagger UI Using Docker Compose
## Description
This is hands-on deployment kit for api documentation according to OpenAPI 3 standards
Authored by [CrazyOptimist](https://www.crazyoptimist.net/about)
## How to use
Put your api doc file 'filename.yaml' into the directory 'swagger'
Create .env file using this command:
```shell
cp .env.example .env
```
Open the .env file and feed this: `FILE_URL=swagger/filename.yaml`
Launch the app
```shell
docker-compose up -d
```
Open this url on your machine: `http://localhost:8000`