diff --git a/docker-compose-deploy.yml b/docker-compose-deploy.yml index 04da512..b3f8495 100644 --- a/docker-compose-deploy.yml +++ b/docker-compose-deploy.yml @@ -29,5 +29,5 @@ services: container_name: streamlit restart: always ports: - - "80:80" + - "8080:80" command: streamlit run Introduction.py --global.disableWidgetStateDuplicationWarning true --server.port=80 \ No newline at end of file diff --git a/nginx/project.conf b/nginx/project.conf index e3ee3a7..e3c4600 100644 --- a/nginx/project.conf +++ b/nginx/project.conf @@ -26,7 +26,7 @@ server { } location / { - proxy_pass http://streamlit:80; # Assuming Streamlit runs on port 80 inside the container + proxy_pass http://streamlit:8080; # Assuming Streamlit runs on port 80 inside the container proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -46,7 +46,7 @@ server { } location / { - proxy_pass http://streamlit:80; + proxy_pass http://streamlit:8080; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;