Skip to content

a-abukar/notes-web-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Web App Tutorial... with Docker

Setup & Installtion

Make sure you have the latest version of Docker installed.

Clone the repo:

git clone <repo-url>

Running The App

Using Docker

Build the image:

docker built -t myapp .

Run the container:

docker run -d -p 8000:8000

Using Kubernetes

Ensure Docker desktop is running. And if you're losing a local cluster like minikube then run minikube start

Apply the manifest file in ./kubernetes/

kubectl apply -f notes-app.yaml

This will create the deployment and ClusterIP service

To access the app with localhost, port-forward:

kubectl port-forward <pod-name> 5000:5000

Viewing The App

Go to http://127.0.0.1:5000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published