Update README.md and Traefik configuration
This commit is contained in:
@@ -17,18 +17,8 @@ This simple project uses Traefik as a reverse proxy to a Streamlit application a
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
- Docker Compose
|
- Docker Compose
|
||||||
- Python 3.11
|
|
||||||
- Build for ARM64 platform
|
- Build for ARM64 platform
|
||||||
|
|
||||||
## Local Deployment
|
|
||||||
#### Python:
|
|
||||||
1. `cd src`
|
|
||||||
2. `pip install -r requirements.txt`
|
|
||||||
3. `streamlit run app.py`
|
|
||||||
|
|
||||||
#### Docker:
|
|
||||||
1. `docker compose -f local.yml up --build`
|
|
||||||
|
|
||||||
## Production Deployment
|
## Production Deployment
|
||||||
1. In `compose/traefik/traefik.yml`, change `example@test.com` to your email.
|
1. In `compose/traefik/traefik.yml`, change `example@test.com` to your email.
|
||||||
2. In `compose/traefik/traefik.yml`, change `example.com` to your domain.
|
2. In `compose/traefik/traefik.yml`, change `example.com` to your domain.
|
||||||
@@ -37,7 +27,9 @@ This simple project uses Traefik as a reverse proxy to a Streamlit application a
|
|||||||
5. `mdkir ~/.thelounge`
|
5. `mdkir ~/.thelounge`
|
||||||
6. `touch cache/bar_cache.sqlite`
|
6. `touch cache/bar_cache.sqlite`
|
||||||
7. `touch cache/short_cache.sqlite`
|
7. `touch cache/short_cache.sqlite`
|
||||||
8. `make serve`
|
8. `cp .env.example .env`
|
||||||
|
9. `cp usersfile.example usersfile`
|
||||||
|
10. `make serve`
|
||||||
|
|
||||||
### Notes:
|
### Notes:
|
||||||
```yaml
|
```yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user