- DevPost Profile dejanualex
- Hackathon BNS Hackathon
- Webapp that allows to search k8s objects definition and usage
- If you want to rename the
app.py
file, e.g.mv app.py main.py
, you need to update env variableFLASK_APP
export FLASK_APP=main.py
# run app on default port 5000
flask run --host=0.0.0.0
- Docker setup:
# create env vars
source backend/db_stuff/setup_db.sh
# build image and start flask app as container
docker build -t dejanualex/bns_hackathon .
docker run -p 5000:5000 -e DATABASE_URL=$DATABASE_URL -e DATABASE_USER=$DATABASE_USER -e DATABASE_PASSWORD=$DATABASE_PASSWORD dejanualex/bns_hackathon
# start docker compose
docker-compose -f docker-compose.yml up --remove-orphans --build
-
Bunnyshell environment definition
-
The Environment has all its Docker-compose Components deployed into its own Kubernetes namespace, isolated from other environments.
-
A template contains the full definition of an environment - resource allocations, the services and jobs needed to run your applications with predetermined configuration values while still allowing you to customize the configuration.
-
The template for the environment can be found here