A FastAPI app using GitFred's managed PostgreSQL addon.
Before this page could render, GitFred provisioned a dedicated schema and role, injected
DATABASE_URL, and ran python migrate.py as a pre-rollout Job.
The number below is read live from the database on every request.
What's in the repo
๐ main.py FastAPI app
๐๏ธ migrate.py release command
๐ requirements.txt fastapi + psycopg
๐ณ Dockerfile non-root USER
How it gets to your browser
๐ฆGitHub repoapp + migration
โ
๐จkaniko buildimage built in-cluster
โ
๐๏ธmigrate Jobpython migrate.py before rollout
โ
๐ขapp podnon-root, $PORT
โ
๐PostgreSQLDATABASE_URL, tenant schema, TLS
Rows in the hits table (live query)
1
What this proves
Postgres provisioning: dedicated role + schema on the shared tenant instance
Migrate-before-apply: the hits table exists because the release Job ran first
search_path pinned to the tenant schema (see below โ not public)