Skip to content

Commit

Permalink
Update deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Harisathwik committed Jul 25, 2023
1 parent fd54bc6 commit 8a44ddb
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: streamlit-app-deployment
name: streamlit-app
spec:
replicas: 3 # Number of replicas (pods) to run
replicas: 1
selector:
matchLabels:
app: streamlit-app
Expand All @@ -13,7 +13,10 @@ spec:
app: streamlit-app
spec:
containers:
- name: streamlit-app-container
image: harisathwik/streamlit_app:v1 # Replace with your actual container image URL
ports:
- containerPort: 8501
- name: streamlit-app
image: harisathwik/streamlit_app:${{ github.sha }}
ports:
- containerPort: 8501
env:
- name: PUBLIC_URL
value: "http://localhost:8501" # Change the port to match your Streamlit app port

0 comments on commit 8a44ddb

Please sign in to comment.