Skip to content

hopisaurus/test-rest-api

Repository files navigation

REST API Python App with Flask and PostgreSql

How to run:

# docker-compose up --build -d
make build

# docker-compose down -v 
make down

# show logs
make show_logs

Helm install

cd charts
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add nginx-stable https://helm.nginx.com/stable
helm repo update

helm install postgresql-release bitnami/postgresql -f ./test-rest-api/postgresql-values.yaml

helm install nginx-release nginx-stable/nginx-ingress -f ./test-rest-api/nginx-ingress-values.yaml

helm install test-rest-api-release test-rest-api/ -f ./test-rest-api/values.yaml

Helm uninstall

helm uninstall test-rest-api-release
helm uninstall nginx-release
helm uninstall postgresql-release