How waynegoosen/azure-streamlit-poc works
Project type and purpose
• This is a full-stack proof-of-concept (PoC) web application built with Python’s Streamlit framework, containerized with Docker, deployed and hosted on Microsoft Azure, and managed end-to-end via GitHub Actions and Terraform.
• Purpose: Provide a boilerplate for a self-hosted, access-controlled Streamlit app on Azure with automated build/deploy workflows.
File structure
• Top-level:
• .devcontainer/ – VS Code Dev Container configuration
• .github/workflows/ – GitHub Actions CI/CD pipelines
• app/ – the Streamlit application, including its Dockerfile and Python code
• infra/ – Terraform code and helper scripts to provision Azure resources
• Patterns:
• Single container micro-application (Streamlit)
• GitOps style: code → GitHub Actions → container registry + Terraform → Azure
• Key config files:
• app/Dockerfile
• infra/*.tf (providers.tf, main.tf, web-app.tf, variables.tf, locals.tf)
• GitHub Actions YAML files for Docker image build/push and Terraform plan/apply/destroy
README for additional insights
• Architecture overview mentions:
• Interactive web-based frontend
• Python-based backend (same container)
• GitHub Container Registry (GHCR) for storing images
• Hosting on Azure App Service
• Deployment via GitHub Actions
• Technology stack: Python, Streamlit, Docker, Terraform, Azure, GitHub Actions