A Swagger 3.x UI with focus to use on microservice environment. Main features are:
- Being multistage and all
- Server side access to swagger asset files
- Easy to configure
- Hot reload
To run the service in Docker we can run:
docker run -p 8080:8080 \
-e APP_PORT=8080 \
-e CONFIG_MODE=test \
-d sdshariati/openapi-ui:latest
To run the service in Docker Compose we can simply use the available sammple/docker-compose.yml
file and run:
cd sample
docker-compose up -d
Environments are as below:
Name | Description |
---|---|
APP_PORT |
The port that will expose by applocation |
CONFIG_MODE |
Name of the config we are using based on the config file |