swagger-api / swagger-api/swagger-ui
Showing Base URL: 0.0.0.0:3000/ in docker deployment
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
Hi,
I have been trying to install swagger-ui docker using below mentioned compose entries.
swagger-ui:
container_name: swagger-ui
image: swaggerapi/swagger-ui
restart: always
environment:
API_URL: http://prime.dcp.infra.local.com/api
After deployment showing -> [ Base URL: 0.0.0.0:3000/ ] in the UI.
Also while clicking "Try it out" , requests are hitting http://0.0.0.0:3000/
Attaching the screenshots,


How can we solve this issue in a docker installation. I didnt find docker ENVs to set - host, basePath and schemes
Please help
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source files or tests. Start by reproducing the Docker deployment with the shown API_URL and inspect the container's URL and base-path configuration; done means Try it out targets the intended API rather than 0.0.0.0:3000.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, javascript
- Domain
- devops, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100