summaryrefslogtreecommitdiff
path: root/f3s/minvid
diff options
context:
space:
mode:
Diffstat (limited to 'f3s/minvid')
-rw-r--r--f3s/minvid/Justfile4
-rw-r--r--f3s/minvid/helm-chart/templates/deployment.yaml11
-rw-r--r--f3s/minvid/helm-chart/templates/ingress.yaml2
3 files changed, 9 insertions, 8 deletions
diff --git a/f3s/minvid/Justfile b/f3s/minvid/Justfile
index 9e17f2c..6d19d3f 100644
--- a/f3s/minvid/Justfile
+++ b/f3s/minvid/Justfile
@@ -20,9 +20,9 @@ status:
logs lines="100":
kubectl logs -n {{NAMESPACE}} -l app=minvid --tail={{lines}} -f
-port-forward port="3000":
+port-forward port="8000":
@echo "Forwarding minvid to localhost:{{port}}"
- kubectl port-forward -n {{NAMESPACE}} svc/minvid-service {{port}}:3000
+ kubectl port-forward -n {{NAMESPACE}} svc/minvid-service {{port}}:80
sync:
@echo "Triggering ArgoCD sync..."
diff --git a/f3s/minvid/helm-chart/templates/deployment.yaml b/f3s/minvid/helm-chart/templates/deployment.yaml
index 9cbdf29..8047e76 100644
--- a/f3s/minvid/helm-chart/templates/deployment.yaml
+++ b/f3s/minvid/helm-chart/templates/deployment.yaml
@@ -15,12 +15,13 @@ spec:
spec:
containers:
- name: minvid
- image: ghcr.io/mariodian/minvid
+ image: ghcr.io/ludvigaman/minvid:latest
+ imagePullPolicy: IfNotPresent
ports:
- - containerPort: 3000
+ - containerPort: 80
volumeMounts:
- name: minvid-data
- mountPath: /data
+ mountPath: /app/data
volumes:
- name: minvid-data
persistentVolumeClaim:
@@ -36,8 +37,8 @@ metadata:
spec:
ports:
- name: web
- port: 3000
+ port: 80
protocol: TCP
- targetPort: 3000
+ targetPort: 8000
selector:
app: minvid
diff --git a/f3s/minvid/helm-chart/templates/ingress.yaml b/f3s/minvid/helm-chart/templates/ingress.yaml
index 024d515..74d0f5f 100644
--- a/f3s/minvid/helm-chart/templates/ingress.yaml
+++ b/f3s/minvid/helm-chart/templates/ingress.yaml
@@ -17,4 +17,4 @@ spec:
service:
name: minvid-service
port:
- number: 3000
+ number: 80