Skip to main content
Eckford on the side
The snippets herein are from far and wide. It makes no sense without context
  • Login
  • Home
  • Bridges
  • Flask
  • Get Smart
  • GitOps
  • Patterns for safely evolving systems without breaking operations
  • Best practice: A dedicated Playbook Communication Site with a metadata-driven catalogue
  • Document Library and Content Types
  • Dynamic Filtering
  • Monday
  • No crawl no PnP
  • O365
  • O365-presentation
  • Recommendation & Status Update
  • Tuesday Do It!
Menu
  1. Home

Python Chapter — Deployment Patterns

Chapters: 
python

 Flask + venv + systemd + Nginx

A minimal, production-grade Python service pattern for on-prem or containerized environments.

Purpose:
To deploy Flask applications securely and repeatably using:

  • venv for isolated Python environments
  • systemd for process control and auto-restart
  • Nginx as a reverse proxy and TLS terminator

Why here:
It’s a Pythonic deployment pattern — the focus is on how the Flask app integrates with OS-level and web-server layers.
Nginx and systemd serve as infrastructure tools, but they’re subordinate to the Python app lifecycle.


 

Flask + venv + systemd + Nginx
Powered by Backdrop CMS