Skip to content
All work
InfrastructureOpen source

myflaskapp

A small Flask + PostgreSQL service with infrastructure as code.

A Flask application on PostgreSQL, deployed to Render with render.yaml and runnable locally with Docker Compose.

Problem

Small services still need repeatable deployment and environment-based configuration.

Context

Reference project for deploying Python services.

Architecture

Flask app, managed PostgreSQL, deployment described in code.

myflaskapp architecture
  1. App
    • Flask
  2. Data
    • PostgreSQL
  3. Deploy
    • render.yaml
    • Docker Compose

Engineering decisions

Deployment as configuration
render.yaml wires the web service and database so every push to main deploys the same way.