c6344989cfe6b59ce24958358a70fb7d2de9c5d4
Webapp + Streamlit + Traefik + Docker
This simple project uses Traefik as a reverse proxy to a Streamlit application and handles SSL certs with Lets Encrypt.
- Beyond All Information: analyse your Beyond All Reason games.
- Blog
- CheatSheets: Collection of cheatsheets.
- Forum: Host your own forum.
- Neural Network Playground: Understand neural network visually.
- Note: Notepad Online.
- Home server: Build for ARM64 platform
Requirements
- Docker Compose
- Python 3.11
- Build for ARM64 platform
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 -f ./flarum/docker-compose.yml -f ./emqx-docker/docker-compose.yml -f ./LibreChat/docker-compose.yml -f ./LibreChat/docker-compose.override.yml up --build -ddocker compose -f production.yml -f ./flarum/docker-compose.yml -f ./emqx-docker/docker-compose.yml -f ./LibreChat/docker-compose.yml -f ./LibreChat/docker-compose.override.yml down --remove-orphans
Notes:
# Declaring the user list
#
# Note: when used in docker-compose.yml all dollar signs in the hash need to be doubled for escaping.
# To create user:password pair, it's possible to use this command:
# echo $(htpasswd -nB user) | sed -e s/\\$/\\$\\$/g
#
# Also note that dollar signs should NOT be doubled when they not evaluated (e.g. Ansible docker_container module).
labels:
- "traefik.http.middlewares.test-auth.basicauth.users=test:$$apr1$$H6uskkkW$$IgXLP6ewTrSuBkTrqE8wj/,test2:$$apr1$$d9hr9HBB$$4HxwgUir3HP4EsggP/QNo0"
Description
Languages
Shell
42%
PHP
20.6%
Jinja
18.8%
Makefile
5%
Python
4.8%
Other
8.8%