mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-07-21 18:26:00 +00:00
492c03bfcf51dcf09b33aedcfcb8a97a79c782bd
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.9
Local Deployment
Python:
cd srcpip install -r requirements.txtstreamlit run app.py
Docker:
sudo 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:
Feel free to make a PR or get in contact with me on Discord at yoyojoe#5510.
Languages
Shell
41.4%
PHP
19.5%
Jinja
17.8%
Makefile
8.1%
Python
4.5%
Other
8.7%