Go to file
Lauri Võsandi 989f391b1a
continuous-integration/drone Build is passing Details
Add Drone config
2022-11-29 11:43:09 +02:00
app Initial commit 2022-11-27 13:22:18 +02:00
templates Rename ingress 2022-11-29 11:36:02 +02:00
.drone.yml Add Drone config 2022-11-29 11:43:09 +02:00
Chart.yaml Initial commit 2022-11-27 13:22:18 +02:00
Dockerfile Initial commit 2022-11-27 13:22:18 +02:00
LICENSE Initial commit 2022-11-27 13:22:18 +02:00
README.md Initial commit 2022-11-27 13:22:18 +02:00
docker-compose.yml Initial commit 2022-11-27 13:22:18 +02:00
skaffold.yaml Initial commit 2022-11-27 13:22:18 +02:00

README.md

Hello cloud native Flask

In this example skeleton Flask application is provided with Prometheus metrics endpoint.

Steps to take with this repository:

  • Fork this repository to your personal GitHub
  • Clone the forked repository to your machine
  • Obtain sandbox environment from https://dashboard.codemowers.eu/
  • Follow the instructions on the page regarding ~/.kube/config reconfiguration
  • Execute the skaffold dev ... command provided on the sandbox detailed view page to build and deploy the application in the remote cluster sandbox
  • Proceed to build your awesome Flask application

Building and running locally

With vanilla Docker

docker build . -t hello-flask:latest
docker run --network host -it hello-flask:latest

With docker-compose:

docker-compose up --build