Update environment variables and configurations

This commit is contained in:
2024-02-28 14:28:19 +08:00
parent 492c03bfcf
commit 5e13f7795e
4 changed files with 67 additions and 19 deletions
+7 -7
View File
@@ -3,21 +3,21 @@ This simple project uses Traefik as a reverse proxy to a Streamlit application a
## Requirements
- Docker Compose
- Python 3.9
- Python 3.11
## Local Deployment
#### Python:
1. `cd src`
2. `pip install -r requirements.txt`
3. `streamlit run app.py`
1. `cd src`
2. `pip install -r requirements.txt`
3. `streamlit run app.py`
#### Docker:
1. `sudo docker-compose -f local.yml up --build`
1. `docker compose -f local.yml up --build`
## 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.
3. `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.