Swagger implementation to document Rest APIs

This commit is contained in:
Miguel Ortiz
2019-09-23 20:12:03 -05:00
parent a0365437c5
commit da040d7b02
4 changed files with 33 additions and 0 deletions

View File

@ -1577,3 +1577,21 @@ services:
- postgres
volumes:
- ${DATA_PATH_HOST}/Confluence:/var/atlassian/application-data
### SWAGGER EDITOR ############################################
swagger-editor:
build: ./swagger-editor
ports:
- ${SWAGGER_EDITOR_PORT}:8080
networks:
- backend
### SWAGGER UI ################################################
swagger-ui:
build: ./swagger-ui
environment:
- API_URL=${SWAGGER_API_URL}
ports:
- ${SWAGGER_UI_PORT}:8080
networks:
- backend