82521f19aef918c669fb7c661f0db5d2a0d5315c
Streamlit + Traefik + Docker
This simple project uses Traefik as a reverse proxy to a Streamlit application and handles SSL certs with Lets Encrypt.
Requirements
- Docker Compose
- Python 3.11
Local Deployment
Python:
cd srcpip install -r requirements.txtstreamlit run app.py
Docker:
docker compose -f local.yml up --build
Production Deployment
- In
compose/traefik/traefik.yml, changeexample@test.comto your email. - In
compose/traefik/traefik.yml, changeexample.comto your domain. docker compose -f production.yml up --build -d --remove-orphans
Notes:
Description
Languages
Shell
42%
PHP
20.6%
Jinja
18.8%
Makefile
5%
Python
4.8%
Other
8.8%