You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Lauri Võsandi 989f391b1a Add Drone config 2 months ago
app Initial commit 2 months ago
templates Rename ingress 2 months ago
.drone.yml Add Drone config 2 months ago
Chart.yaml Initial commit 2 months ago
Dockerfile Initial commit 2 months ago
LICENSE Initial commit 2 months ago
README.md Initial commit 2 months ago
docker-compose.yml Initial commit 2 months ago
skaffold.yaml Initial commit 2 months ago

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