Skip to content

shamilnabiyev/solara-nginx-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Solara + FastAPI + NGINX Dockerized App

This project demonstrates a simple web application that uses Solara served via FastAPI, reverse-proxied by NGINX, containerized with Docker, and orchestrated with Docker Compose.

Features

  • Solara UI: Interactive web UI built with Solara (stc/solara_app.py)
  • FastAPI: Serves the Solara app at /solara-app (src/server.py)
  • NGINX: Proxies requests to the FastAPI app and exposes it on port 8080 (docker/nginx.conf)
  • Docker Compose: Orchestrates the app and NGINX containers (docker/docker-compose.yml)

Quick Start

  1. Build and run with Docker Compose:

    docker-compose -f docker/docker-compose.yml up --build
  2. Access the app:

  3. (Optional Debugging): Access the Solara app directly on port 8765

About

Solara + FastAPI + NGINX Dockerized App

Topics

Resources

Stars

Watchers

Forks