NatLabRockies / NatLabRockies/api-umbrella

API-umbrella with settings in environment variables

Open
#337 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
2.2k
Forks
373
PR merge metrics
No merged PRs in 30d

Description

@GUI Do you have the plan for run API-umbrella with settings in environment variables?

We need avoid use a config file and instead use ENV variables for easy scale docker-swarm and kubernetis setup. Otherwise, require create persisted storage with api-umbrella.yml and then start the new instance of API-umbrella and mount volume with api-umbrella.yml.

I can contribute to that feature, but before want check it with you.

I have only one concern, that we somehow need to convert arrays to ENV variable.

Contributor guide

No contributing guide indexed for this repository

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 config/default.yml, especially the array settings linked in the issue, and review how API Umbrella currently loads its configuration. Define how environment variables should replace api-umbrella.yml for Docker Swarm and Kubernetes deployments, including array conversion; done means a new instance can run without a mounted configuration file.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, kubernetes, ruby
Domain
devops, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.