/python_service_configs

Microservice for configuration registry written in Flask

Primary LanguagePythonMIT LicenseMIT

Config registry microservice


Flask based config registry microservice with tests, docs adn docker/k8s (minikube) support.

Usage

Local dev environment

## Create virtualenv
python3 -m virtualenv -ppython3 --no-site-packages venv
## Activate virtualenv
source venv/bin/activate
## Install dev packages
python3 -m pip install -r requirements-dev.txt
## Run tests with tox
#tox
## Run tests
python3 setup.py test 
deactivate

K8s

./k8s/k8s-cli.sh build
./k8s/k8s-cli.sh start

## ./k8s/k8s-cli.sh stop

Docker

docker-compose up --build

Configuration

Application MUST serve the API on the port defined by the environment variable SERVE_PORT.

Docs

Links