swagger-api / swagger-api/swagger-ui

Multiple Json files as environment variables in docker compose

Open
#5,542 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
29k
Forks
9.3k
Avg merge
2d 23h
Merged PRs (30d)
25

Description

How can we help?

Referring to the ticket #4820 How to pass multiple swagger json files to the docker. I tried passing the same environment variables in the docker-compose.yml file. It's giving the following error, how should I pass multiple files as environment variable to the docker container.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading ticket #4820 and the existing docker-compose.yml configuration, then reproduce the reported error with multiple Swagger JSON environment variables. Done means documenting or confirming the supported way to pass multiple files to the container.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.