Skip to content

felichita/dockerized-flask-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hello world flask application == web service

What is it?

Implemented a trivial HTTP "Hello, world!" web application in python Requirements:

  • Dockerfile that dockerizes the application.
  • The app has a health-check.
  • The application must provide metrics endpoint for Prometheus.
  • Grafana dashboard with metrics visualization.
  • docker-compose.yml that launches the app with all the necessary environment (Prometheus and Grafana).

How build from Dockerfile?

DOCKER_BUILDKIT=1 docker build --ssh default --no-cache -t hello_world:latest -f Dockerfile .

How run docker-compose?

docker-compose up

How can I deploy this app in kubernetes? (Not the best method)

cat build/ansible/README.md

About

My template for simple flask application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published