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.
- 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
)
-
Build and run with Docker Compose:
docker-compose -f docker/docker-compose.yml up --build
-
Access the app:
-
(Optional Debugging): Access the Solara app directly on port
8765